metamaps--metamaps/app/serializers/api/v2/attachment_serializer.rb

15 lines
300 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-02-06 05:43:10 +00:00
module Api
module V2
class AttachmentSerializer < ApplicationSerializer
attributes :id,
:file,
:attachable_type,
:attachable_id,
:created_at,
:updated_at
end
end
end