Sha256: f50b33966b5ae76643d02f4c81a1f7b96a54c73ca5169cc7b128dfdcd5686156
Contents?: true
Size: 462 Bytes
Versions: 29
Compression:
Stored size: 462 Bytes
Contents
module Spree module V2 module Storefront class StoreCreditSerializer < BaseSerializer set_type :store_credit belongs_to :category, serializer: :store_credit_category has_many :store_credit_events belongs_to :credit_type, id_method_name: :type_id, serializer: :store_credit_type attributes :amount, :amount_used, :created_at, :public_metadata end end end end
Version data entries
29 entries across 29 versions & 3 rubygems