Sha256: 1ddcbee9bcbeaad057d872d90254c55b6dd80a72566cc2684e2234f8197d4ea7

Contents?: true

Size: 159 Bytes

Versions: 3

Compression:

Stored size: 159 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-forter-1.2.4 app/models/search/admin/order.decorator
workarea-forter-1.2.3 app/models/search/admin/order.decorator
workarea-forter-1.2.2 app/models/search/admin/order.decorator