Sha256: a370b8c53cf6ba8f7bc45cfa9109841f30ab7be16bc3761b9714ad8a7f8a1944

Contents?: true

Size: 303 Bytes

Versions: 6

Compression:

Stored size: 303 Bytes

Contents

module Api
  module V1
    module Locations
      class Serializer
        include JSONAPI::Serializer

        has_many :labels, serializer: LabelSerializer
        attribute :latitude
        attribute :longitude
        attribute :created_at
        attribute :updated_at
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infinum_json_api_setup-0.0.8 spec/dummy/app/web/api/v1/locations/serializer.rb
infinum_json_api_setup-0.0.7 spec/dummy/app/web/api/v1/locations/serializer.rb
infinum_json_api_setup-0.0.6 spec/dummy/app/web/api/v1/locations/serializer.rb
infinum_json_api_setup-0.0.5 spec/dummy/app/web/api/v1/locations/serializer.rb
infinum_json_api_setup-0.0.4 spec/dummy/app/web/api/v1/locations/serializer.rb
infinum_json_api_setup-0.0.3 spec/dummy/app/web/api/v1/locations/serializer.rb