Class: GpResponse
- Inherits:
-
Object
- Object
- GpResponse
- Defined in:
- lib/galileo_processing/gp_response.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(res) ⇒ GpResponse
constructor
A new instance of GpResponse.
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
#name ⇒ Object
Returns the value of attribute name.
2 3 4 |
# File 'lib/galileo_processing/gp_response.rb', line 2 def name @name end |