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.
4 5 6 7 |
# File 'lib/cloudstack_ruby_client/client.rb', line 4 def initialize(response, json) @response = response @json = json end |
Instance Attribute Details
#json ⇒ Object (readonly)
Returns the value of attribute json.
2 3 4 |
# File 'lib/cloudstack_ruby_client/client.rb', line 2 def json @json end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
2 3 4 |
# File 'lib/cloudstack_ruby_client/client.rb', line 2 def response @response end |