Class: JSONAPI::Utils::Exceptions::ActiveRecord
- Inherits:
-
Exceptions::Error
- Object
- Exceptions::Error
- JSONAPI::Utils::Exceptions::ActiveRecord
- Defined in:
- lib/jsonapi/utils/exceptions.rb
Instance Attribute Summary collapse
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
- #errors ⇒ Object
-
#initialize(object) ⇒ ActiveRecord
constructor
A new instance of ActiveRecord.
Constructor Details
#initialize(object) ⇒ ActiveRecord
Returns a new instance of ActiveRecord.
9 10 11 |
# File 'lib/jsonapi/utils/exceptions.rb', line 9 def initialize(object) @object = object end |
Instance Attribute Details
#object ⇒ Object
Returns the value of attribute object.
7 8 9 |
# File 'lib/jsonapi/utils/exceptions.rb', line 7 def object @object end |