Class: ApplicationSerializer
- Inherits:
-
Object
- Object
- ApplicationSerializer
- Defined in:
- app/serializers/application_serializer.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
4 5 6 |
# File 'app/serializers/application_serializer.rb', line 4 def to_h raise NotImplementedError end |
#to_json ⇒ Object
8 9 10 |
# File 'app/serializers/application_serializer.rb', line 8 def to_json(*) to_h.to_json end |