Class: Workarea::Order::FraudDecision

Inherits:
Object
  • Object
show all
Includes:
ApplicationDocument
Defined in:
app/models/workarea/order/fraud_decision.rb

Instance Method Summary collapse

Methods included from ApplicationDocument

#releasable?

Methods included from Sidekiq::Callbacks

add_worker, assert_valid_config!, async, caching_classes?, disable, enable, inline, #run_callbacks, workers, workers_list

Methods included from Mongoid::Document

#embedded_children

Instance Method Details

#declined?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'app/models/workarea/order/fraud_decision.rb', line 13

def declined?
  decision == :declined
end