Class: Chronicle::Serialization::JSONAPISerializer
- Inherits:
-
Serializer
- Object
- Serializer
- Chronicle::Serialization::JSONAPISerializer
- Defined in:
- lib/chronicle/serialization/jsonapi_serializer.rb
Instance Method Summary collapse
Methods inherited from Serializer
Constructor Details
This class inherits a constructor from Chronicle::Serialization::Serializer
Instance Method Details
#serializable_hash ⇒ Object
4 5 6 |
# File 'lib/chronicle/serialization/jsonapi_serializer.rb', line 4 def serializable_hash { data: serialize_record(@record) } end |