Sha256: fa24048034efb394834a23a4a011432bf4093fe520f56dfa6ebf220fc72472b1

Contents?: true

Size: 311 Bytes

Versions: 3

Compression:

Stored size: 311 Bytes

Contents

module Workarea
  module Orderbot
    class PricingImportData
      include ApplicationDocument

      field :pricing_data, type: Hash
      field :order_guide_id, type: String

      index({ created_at: 1 }, { expire_after_seconds: 6.months.seconds.to_i })
      index({ order_guide_id: 1 })
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-orderbot-1.0.2 app/models/workarea/orderbot/pricing_import_data.rb
workarea-orderbot-1.0.1 app/models/workarea/orderbot/pricing_import_data.rb
workarea-orderbot-1.0.0 app/models/workarea/orderbot/pricing_import_data.rb