class Assembla::Client::Spaces::Ssh::Launches

Public Instance Methods

get(*args) click to toggle source

@example api.spaces.ssh.launches.get ‘project1’, 142

# File lib/assembla_api/client/spaces/ssh/launches.rb, line 16
def get(*args)
  arguments(args, required: [:space, :id])
  get_request("/spaces/#{arguments.space}/ssh/launches/#{arguments.id}", arguments.params)
end
list(*args) { |el| ... } click to toggle source

@example api.spaces.ssh.launches.list ‘project1’

# File lib/assembla_api/client/spaces/ssh/launches.rb, line 6
def list(*args)
  arguments(args, required: [:space])

  response = get_request("/spaces/#{arguments.space}/ssh/launches", arguments.params)
  return response unless block_given?
  response.each { |el| yield el }
end
output(*args) click to toggle source

Get full output of the command @example api.spaces.ssh.launches.output ‘project1’, 142

# File lib/assembla_api/client/spaces/ssh/launches.rb, line 24
def output(*args)
  arguments(args, required: [:space, :id])
  get_request("/spaces/#{arguments.space}/ssh/launches/#{arguments.id}/output", arguments.params)
end