Exception: Grumlin::UnknownResponseStatus
- Inherits:
-
ProtocolError
- Object
- StandardError
- Error
- ProtocolError
- Grumlin::UnknownResponseStatus
- Defined in:
- lib/grumlin.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status) ⇒ UnknownResponseStatus
constructor
A new instance of UnknownResponseStatus.
Constructor Details
#initialize(status) ⇒ UnknownResponseStatus
Returns a new instance of UnknownResponseStatus.
58 59 60 61 |
# File 'lib/grumlin.rb', line 58 def initialize(status) super("unknown response status code #{status[:code]}") @status = status end |
Instance Attribute Details
#status ⇒ Object (readonly)
Returns the value of attribute status.
56 57 58 |
# File 'lib/grumlin.rb', line 56 def status @status end |