Sha256: d44b51d239d0edfa2515c47468ba1b885a0088f3a56bc752c3d81d0afc1f64cb

Contents?: true

Size: 157 Bytes

Versions: 3

Compression:

Stored size: 157 Bytes

Contents

module Workarea
  decorate Search::Admin::Order, with: :forter do
    def should_be_indexed?
      model.placed? || model.fraud_suspected?
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-forter-1.3.2 app/models/search/admin/order.decorator
workarea-forter-1.3.1 app/models/search/admin/order.decorator
workarea-forter-1.3.0 app/models/search/admin/order.decorator