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.
171 172 173 |
# File 'lib/jsonapi/exceptions.rb', line 171 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
170 171 172 |
# File 'lib/jsonapi/exceptions.rb', line 170 def errors @errors end |