Class: Tramway::Api::V1::ErrorSerializer
- Inherits:
-
ActiveModel::Serializer
- Object
- ActiveModel::Serializer
- Tramway::Api::V1::ErrorSerializer
- Defined in:
- app/serializers/tramway/api/v1/error_serializer.rb
Instance Method Summary collapse
Instance Method Details
#as_json ⇒ Hash<field_name,Array<error_message>>
6 7 8 |
# File 'app/serializers/tramway/api/v1/error_serializer.rb', line 6 def as_json (object) end |
#success? ⇒ Boolean
10 11 12 |
# File 'app/serializers/tramway/api/v1/error_serializer.rb', line 10 def success? false end |