Sha256: 86b3ab3d79a8a1d881e3c5b4069643b5350297f76739e833f02f75cf5a741d8d

Contents?: true

Size: 176 Bytes

Versions: 8

Compression:

Stored size: 176 Bytes

Contents

module Spree
  class OptionValueSerializer < Spree::BaseSerializer
    attributes :name, :presentation, :position

    belongs_to :option_type
    has_many :variants
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

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