Class: PhraseApp::ErrorResponse
- Inherits:
-
Object
- Object
- PhraseApp::ErrorResponse
- Defined in:
- lib/request_handler.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
- #error ⇒ Object
-
#initialize(http_response) ⇒ ErrorResponse
constructor
A new instance of ErrorResponse.
Constructor Details
#initialize(http_response) ⇒ ErrorResponse
Returns a new instance of ErrorResponse.
10 11 |
# File 'lib/request_handler.rb', line 10 def initialize(http_response) end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
8 9 10 |
# File 'lib/request_handler.rb', line 8 def end |
Instance Method Details
#error ⇒ Object
13 14 15 |
# File 'lib/request_handler.rb', line 13 def error self. end |