Exception: CloudstackRubyClient::RequestError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- CloudstackRubyClient::RequestError
- Defined in:
- lib/cloudstack_ruby_client/client.rb
Instance Attribute Summary collapse
-
#json ⇒ Object
readonly
Returns the value of attribute json.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response, json) ⇒ RequestError
constructor
A new instance of RequestError.
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
#json ⇒ Object (readonly)
Returns the value of attribute json.
4 5 6 |
# File 'lib/cloudstack_ruby_client/client.rb', line 4 def json @json end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
4 5 6 |
# File 'lib/cloudstack_ruby_client/client.rb', line 4 def response @response end |