Exception: Seam::Request::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Seam::Request::Error
- Defined in:
- lib/seam/request.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(message, status, response) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, status, response) ⇒ Error
Returns a new instance of Error.
12 13 14 15 16 |
# File 'lib/seam/request.rb', line 12 def initialize(, status, response) super() @status = status @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/seam/request.rb', line 10 def response @response end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
10 11 12 |
# File 'lib/seam/request.rb', line 10 def status @status end |