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.



126
127
128
# File 'lib/deltacloud/runner.rb', line 126

def initialize(ssh, response_body)
  @body, @ssh = response_body, ssh
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



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

def body
  @body
end

#sshObject (readonly)

Returns the value of attribute ssh.



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

def ssh
  @ssh
end