Sha256: 34eb35ff5bef7cff8fa8fa49b3678f190f045320e531b56114f1aca82c80c684

Contents?: true

Size: 168 Bytes

Versions: 8

Compression:

Stored size: 168 Bytes

Contents

module Spree
  class CountrySerializer < Spree::BaseSerializer
    attributes :iso_name, :iso, :iso3, :name, :numcode, :states_required

    has_many :states
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

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