Exception: NinjaVan::ResponseError
- Defined in:
- lib/ninja_van/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#error_data ⇒ Object
readonly
Returns the value of attribute error_data.
Instance Method Summary collapse
-
#initialize(error_data) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(error_data) ⇒ ResponseError
Returns a new instance of ResponseError.
25 26 27 28 |
# File 'lib/ninja_van/error.rb', line 25 def initialize(error_data) super @error_data = error_data end |
Instance Attribute Details
#error_data ⇒ Object (readonly)
Returns the value of attribute error_data.
24 25 26 |
# File 'lib/ninja_van/error.rb', line 24 def error_data @error_data end |