Class: RDStation::ErrorHandler::Default
- Inherits:
-
Object
- Object
- RDStation::ErrorHandler::Default
- Defined in:
- lib/rdstation/error_handler/default.rb
Constant Summary collapse
Instance Attribute Summary collapse
-
#api_response ⇒ Object
readonly
Returns the value of attribute api_response.
Instance Method Summary collapse
-
#initialize(api_response) ⇒ Default
constructor
A new instance of Default.
- #raise_error ⇒ Object
Constructor Details
#initialize(api_response) ⇒ Default
Returns a new instance of Default.
7 8 9 |
# File 'lib/rdstation/error_handler/default.rb', line 7 def initialize(api_response) @api_response = api_response end |
Instance Attribute Details
#api_response ⇒ Object (readonly)
Returns the value of attribute api_response.
4 5 6 |
# File 'lib/rdstation/error_handler/default.rb', line 4 def api_response @api_response end |