Exception: RubstApi::ResponseValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- RubstApi::ResponseValidationError
- Defined in:
- lib/rubst_api/errors.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ResponseValidationError
constructor
A new instance of ResponseValidationError.
Constructor Details
#initialize(errors) ⇒ ResponseValidationError
Returns a new instance of ResponseValidationError.
41 42 43 44 |
# File 'lib/rubst_api/errors.rb', line 41 def initialize(errors) @errors = errors super("Response validation failed") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
40 41 42 |
# File 'lib/rubst_api/errors.rb', line 40 def errors @errors end |