Exception: Fog::DNS::Rackspace::CallbackError
- Inherits:
-
Errors::Error
- Object
- StandardError
- Errors::Error
- Fog::DNS::Rackspace::CallbackError
- Defined in:
- lib/rackspace-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.
10 11 12 13 14 |
# File 'lib/rackspace-fog/rackspace/dns.rb', line 10 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.
9 10 11 |
# File 'lib/rackspace-fog/rackspace/dns.rb', line 9 def details @details end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
9 10 11 |
# File 'lib/rackspace-fog/rackspace/dns.rb', line 9 def @message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
9 10 11 |
# File 'lib/rackspace-fog/rackspace/dns.rb', line 9 def response @response end |