Class: Deltacloud::Runner::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/deltacloud/runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#bodyObject (readonly)

Returns the value of attribute body.



122
123
124
# File 'lib/deltacloud/runner.rb', line 122

def body
  @body
end

#sshObject (readonly)

Returns the value of attribute ssh.



123
124
125
# File 'lib/deltacloud/runner.rb', line 123

def ssh
  @ssh
end