Class: JSONAPI::Store::Entity
- Inherits:
-
Identifier
- Object
- Dry::Struct
- Identifier
- JSONAPI::Store::Entity
- Defined in:
- lib/jsonapi/store/entity.rb
Overview
Basic entity implementation for JSONAPI::Store
Instance Method Summary collapse
-
#attributes ⇒ Hash
Attributes of the entity.
-
#relationships ⇒ Hash
Relationships of the entity.
Methods inherited from Identifier
Instance Method Details
#attributes ⇒ Hash
Returns attributes of the entity.
12 |
# File 'lib/jsonapi/store/entity.rb', line 12 attribute :attributes, Types::Optional::Hash |
#relationships ⇒ Hash
Returns relationships of the entity.
14 |
# File 'lib/jsonapi/store/entity.rb', line 14 attribute :relationships, Types::Optional::Hash |