Class: GpResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/galileo_processing/gp_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(res) ⇒ GpResponse

Returns a new instance of GpResponse.



4
5
6
7
8
9
10
11
12
# File 'lib/galileo_processing/gp_response.rb', line 4

def initialize(res)
  @finished = false
  @timeout = 180
  if res
    if res.name
      @name = res.name
    end
  end
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



2
3
4
# File 'lib/galileo_processing/gp_response.rb', line 2

def name
  @name
end