Sha256: 331a46cbfb9a07fd9b8b4d0d2eed9833ec6e6e2a8219a878b29218de5c0d5c0b

Contents?: true

Size: 318 Bytes

Versions: 62

Compression:

Stored size: 318 Bytes

Contents

module Workarea
  class Fulfillment
    class Event
      include ApplicationDocument

      field :status, type: String
      field :quantity, type: Integer, default: 0
      field :data, type: Hash, default: {}

      embedded_in :item, inverse_of: :events
      delegate :order_item_id, to: :item
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.4.13 app/models/workarea/fulfillment/event.rb
workarea-core-3.4.12 app/models/workarea/fulfillment/event.rb