Exception: Printavo::ApiError
- Defined in:
- lib/printavo/errors.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response: nil) ⇒ ApiError
constructor
A new instance of ApiError.
Constructor Details
#initialize(message, response: nil) ⇒ ApiError
Returns a new instance of ApiError.
18 19 20 21 |
# File 'lib/printavo/errors.rb', line 18 def initialize(, response: nil) super() @response = response end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
16 17 18 |
# File 'lib/printavo/errors.rb', line 16 def response @response end |