Class: Tramway::Api::V1::ApplicationSerializer

Inherits:
ActiveModel::Serializer
  • Object
show all
Includes:
Core::Concerns::AttributesDecoratorHelper
Defined in:
app/serializers/tramway/api/v1/application_serializer.rb

Instance Method Summary collapse

Instance Method Details

#created_atObject



6
7
8
# File 'app/serializers/tramway/api/v1/application_serializer.rb', line 6

def created_at
  object.created_at.iso8601
end

#updated_atObject



10
11
12
# File 'app/serializers/tramway/api/v1/application_serializer.rb', line 10

def updated_at
  object.updated_at.iso8601
end