Sha256: ccc38d6cba70860c153dbc4a6e8746071f27f4013c5c72d9b888abbe51f9e350

Contents?: true

Size: 221 Bytes

Versions: 8

Compression:

Stored size: 221 Bytes

Contents

module Spree
  class AddressSerializer < Spree::BaseSerializer
    attributes :first_name, :last_name, :address1, :address2, :city, :zipcode,
               :phone

    belongs_to :state
    belongs_to :country
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
solidus_json_api-0.3.1 app/serializers/spree/address_serializer.rb
solidus_json_api-0.3.0 app/serializers/spree/address_serializer.rb
spree_api_v2-0.2.2 app/serializers/spree/address_serializer.rb
solidus_api_v2-0.2.2 app/serializers/spree/address_serializer.rb
solidus_api_v2-0.2.1 app/serializers/spree/address_serializer.rb
spree_api_v2-0.2.1 app/serializers/spree/address_serializer.rb
spree_api_v2-0.2.0 app/serializers/spree/address_serializer.rb
solidus_api_v2-0.2.0 app/serializers/spree/address_serializer.rb