Exception: Patchboard::Action::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Patchboard::Action::ResponseError
- Defined in:
- lib/patchboard/action.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, body) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(status, body) ⇒ ResponseError
Returns a new instance of ResponseError.
106 107 108 109 |
# File 'lib/patchboard/action.rb', line 106 def initialize(status, body) @status = status @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
104 105 106 |
# File 'lib/patchboard/action.rb', line 104 def body @body end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
103 104 105 |
# File 'lib/patchboard/action.rb', line 103 def status @status end |