Sha256: 3b92f2e9d856508df043d548fbadaaad91326bc17a7b0de3a61bb8df99fd7478

Contents?: true

Size: 171 Bytes

Versions: 8

Compression:

Stored size: 171 Bytes

Contents

module Spree
  class PriceSerializer < Spree::BaseSerializer
    attributes :amount, :price, :display_amount, :display_price, :currency

    belongs_to :variant
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

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