Sha256: 5bd55f7f6e76117df331f44cf5c22c5aeaf84f4c79ae73a6b9f637dae368ec24

Contents?: true

Size: 244 Bytes

Versions: 75

Compression:

Stored size: 244 Bytes

Contents

module Spree
  module V2
    module Storefront
      class OptionTypeSerializer < BaseSerializer
        set_type   :option_type

        attributes :name, :presentation, :position

        has_many   :option_values
      end
    end
  end
end

Version data entries

75 entries across 75 versions & 1 rubygems

Version Path
spree_api-4.0.9 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.1.15 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.7 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.3 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.6 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.2 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.0 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.0.rc3 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.0.rc2 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.3.0.rc1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.5 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.1.14 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.0.8 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.4 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-3.7.14.1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.3.1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.1.13.1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.0.7.1 app/serializers/spree/v2/storefront/option_type_serializer.rb
spree_api-4.2.3 app/serializers/spree/v2/storefront/option_type_serializer.rb