Sha256: 3681a8ac6f4a59590af4b84e7929c0e5fd41ce567604347f80330bde8298201a
Contents?: true
Size: 606 Bytes
Versions: 3
Compression:
Stored size: 606 Bytes
Contents
module Workarea class LegacyOrder class Item include ApplicationDocument field :name, type: String field :sku, type: String field :product_id, type: String field :quantity, type: Integer field :price, type: Money field :details, type: Hash, default: {} field :customizations, type: Hash, default: {} field :token, type: String field :status, type: String field :data, type: Hash, default: {} embedded_in :order, class_name: "Workarea::LegacyOrder" validates_presence_of :name, :sku, :quantity, :price end end end
Version data entries
3 entries across 3 versions & 1 rubygems