Exception: CloudstackRubyClient::RequestError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/cloudstack_ruby_client/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response, json) ⇒ RequestError

Returns a new instance of RequestError.



6
7
8
9
# File 'lib/cloudstack_ruby_client/client.rb', line 6

def initialize(response, json)
  @response = response
  @json = json
end

Instance Attribute Details

#jsonObject (readonly)

Returns the value of attribute json.



4
5
6
# File 'lib/cloudstack_ruby_client/client.rb', line 4

def json
  @json
end

#responseObject (readonly)

Returns the value of attribute response.



4
5
6
# File 'lib/cloudstack_ruby_client/client.rb', line 4

def response
  @response
end