Sha256: 52342f97c614b3b0f739c7576a61cd21cbd4c8ddc0fcee6859864ab2656a8d58

Contents?: true

Size: 260 Bytes

Versions: 76

Compression:

Stored size: 260 Bytes

Contents

module Spree
  module V2
    module Storefront
      class PromotionSerializer < BaseSerializer
        set_id     :promotion_id
        set_type   :promotion

        attributes :name, :description, :amount, :display_amount, :code
      end
    end
  end
end

Version data entries

76 entries across 76 versions & 1 rubygems

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