Exception: JSONAPI::Exceptions::ValidationErrors
- Defined in:
- lib/jsonapi/exceptions.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ValidationErrors
constructor
A new instance of ValidationErrors.
Constructor Details
#initialize(errors) ⇒ ValidationErrors
Returns a new instance of ValidationErrors.
212 213 214 |
# File 'lib/jsonapi/exceptions.rb', line 212 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
211 212 213 |
# File 'lib/jsonapi/exceptions.rb', line 211 def errors @errors end |