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.
11 12 13 14 15 |
# File 'lib/fog/rackspace/dns.rb', line 11 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.
10 11 12 |
# File 'lib/fog/rackspace/dns.rb', line 10 def details @details end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
10 11 12 |
# File 'lib/fog/rackspace/dns.rb', line 10 def @message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/fog/rackspace/dns.rb', line 10 def response @response end |