Class: Workarea::Checkout::Fraud::NoDecisionAnalyzer

Inherits:
Analyzer
  • Object
show all
Defined in:
app/models/workarea/checkout/fraud/no_decision_analyzer.rb

Instance Attribute Summary

Attributes inherited from Analyzer

#checkout

Instance Method Summary collapse

Methods inherited from Analyzer

#decide!, #error_decision, #initialize

Constructor Details

This class inherits a constructor from Workarea::Checkout::Fraud::Analyzer

Instance Method Details

#make_decisionObject



5
6
7
8
9
10
# File 'app/models/workarea/checkout/fraud/no_decision_analyzer.rb', line 5

def make_decision
  Workarea::Order::FraudDecision.new(
    decision: :no_decision,
    message: I18n.t('workarea.storefront.fraud.default_message')
  )
end