Sha256: 6eeb55b71197f66c209b71c1ec7e62f7e46ce29b57a4c7fd9d258d7bab7d367f

Contents?: true

Size: 202 Bytes

Versions: 2

Compression:

Stored size: 202 Bytes

Contents

module Workarea
  decorate Search::Admin::Order, with: :kount do
    def should_be_indexed?
      model.placed? || model.kount_decision == :review || model.kount_decision == :declined
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-kount-3.3.1 app/models/workarea/search/admin/order.decorator
workarea-kount-3.3.0 app/models/workarea/search/admin/order.decorator