Exception: Plaza::ResourceInvalid
- Defined in:
- lib/plaza/models/error.rb
Overview
422
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(response, message = nil, error_hash = {}) ⇒ ResourceInvalid
constructor
A new instance of ResourceInvalid.
Methods inherited from Error
Constructor Details
#initialize(response, message = nil, error_hash = {}) ⇒ ResourceInvalid
27 28 29 30 |
# File 'lib/plaza/models/error.rb', line 27 def initialize(response, = nil, error_hash={}) super(response, ) @errors = error_hash end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
26 27 28 |
# File 'lib/plaza/models/error.rb', line 26 def errors @errors end |