Class: Deltacloud::Runner::Response
- Inherits:
-
Object
- Object
- Deltacloud::Runner::Response
- Defined in:
- lib/deltacloud/runner.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#ssh ⇒ Object
readonly
Returns the value of attribute ssh.
Instance Method Summary collapse
-
#initialize(ssh, response_body) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(ssh, response_body) ⇒ Response
Returns a new instance of Response.
125 126 127 |
# File 'lib/deltacloud/runner.rb', line 125 def initialize(ssh, response_body) @body, @ssh = response_body, ssh end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
122 123 124 |
# File 'lib/deltacloud/runner.rb', line 122 def body @body end |
#ssh ⇒ Object (readonly)
Returns the value of attribute ssh.
123 124 125 |
# File 'lib/deltacloud/runner.rb', line 123 def ssh @ssh end |