Exception: Fog::DNS::Rackspace::CallbackError
- Inherits:
-
Errors::Error
- Object
- StandardError
- Errors::Error
- Fog::DNS::Rackspace::CallbackError
- Defined in:
- lib/fog/rackspace/dns.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Attributes inherited from Errors::Error
Instance Method Summary collapse
-
#initialize(response) ⇒ CallbackError
constructor
A new instance of CallbackError.
Methods inherited from Errors::Error
Constructor Details
#initialize(response) ⇒ CallbackError
Returns a new instance of CallbackError.
17 18 19 20 21 |
# File 'lib/fog/rackspace/dns.rb', line 17 def initialize(response) @response = response @message = response.body['error']['message'] @details = response.body['error']['details'] end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
16 17 18 |
# File 'lib/fog/rackspace/dns.rb', line 16 def details @details end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
16 17 18 |
# File 'lib/fog/rackspace/dns.rb', line 16 def @message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/fog/rackspace/dns.rb', line 16 def response @response end |