Sha256: 88e27018a70c43ed96a6dd6aab4de97b3d8882cbb18e1ac6f2c67685db45dc2d

Contents?: true

Size: 194 Bytes

Versions: 6

Compression:

Stored size: 194 Bytes

Contents

module Workarea
  decorate Order, with: :emarsys do
    decorated do
      scope :emarsys_exportable,
        -> { where :placed_at.gte => Emarsys.config.export_interval.ago }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
workarea-emarsys-1.0.4 app/models/workarea/order.decorator
workarea-emarsys-2.0.1 app/models/workarea/order.decorator
workarea-emarsys-2.0.0 app/models/workarea/order.decorator
workarea-emarsys-1.1.0 app/models/workarea/order.decorator
workarea-emarsys-1.0.3 app/models/workarea/order.decorator
workarea-emarsys-1.0.2 app/models/workarea/order.decorator