Class: Fog::DNS::Rackspace::CallbackError
- Inherits:
-
Errors::Error
- Object
- 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.
Instance Method Summary collapse
-
#initialize(response) ⇒ CallbackError
constructor
A new instance of CallbackError.
Constructor Details
#initialize(response) ⇒ CallbackError
Returns a new instance of CallbackError.
16 17 18 19 20 |
# File 'lib/fog/rackspace/dns.rb', line 16 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.
15 16 17 |
# File 'lib/fog/rackspace/dns.rb', line 15 def details @details end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
15 16 17 |
# File 'lib/fog/rackspace/dns.rb', line 15 def @message end |
#response ⇒ Object (readonly)
Returns the value of attribute response.
15 16 17 |
# File 'lib/fog/rackspace/dns.rb', line 15 def response @response end |