Exception: Deis::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Deis::Error
- Defined in:
- lib/deis_client.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(http_status = nil, message = nil, data = nil) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(http_status = nil, message = nil, data = nil) ⇒ Error
Returns a new instance of Error.
7 8 9 10 11 |
# File 'lib/deis_client.rb', line 7 def initialize(http_status = nil, = nil, data = nil) @status = http_status @message = @data = data end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
5 6 7 |
# File 'lib/deis_client.rb', line 5 def data @data end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
5 6 7 |
# File 'lib/deis_client.rb', line 5 def @message end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
5 6 7 |
# File 'lib/deis_client.rb', line 5 def status @status end |