Class: Order::FraudDetector::Result
- Inherits:
-
Data
- Object
- Data
- Order::FraudDetector::Result
- Defined in:
- app/services/order/fraud_detector.rb
Instance Attribute Summary collapse
-
#fraud_report ⇒ Object
readonly
Returns the value of attribute fraud_report.
-
#potential_fraud ⇒ Object
readonly
Returns the value of attribute potential_fraud.
Instance Method Summary collapse
-
#initialize(fraud_report: nil, potential_fraud: nil) ⇒ Result
constructor
A new instance of Result.
Constructor Details
#initialize(fraud_report: nil, potential_fraud: nil) ⇒ Result
Returns a new instance of Result.
5 |
# File 'app/services/order/fraud_detector.rb', line 5 def initialize(fraud_report: nil, potential_fraud: nil) = super |
Instance Attribute Details
#fraud_report ⇒ Object (readonly)
Returns the value of attribute fraud_report
4 5 6 |
# File 'app/services/order/fraud_detector.rb', line 4 def fraud_report @fraud_report end |
#potential_fraud ⇒ Object (readonly)
Returns the value of attribute potential_fraud
4 5 6 |
# File 'app/services/order/fraud_detector.rb', line 4 def potential_fraud @potential_fraud end |