Class: Minfraud::Model::Disposition
- Inherits:
-
Abstract
- Object
- Abstract
- Minfraud::Model::Disposition
- Defined in:
- lib/minfraud/model/disposition.rb
Overview
Model with the disposition set by custom rules.
In order to receive a disposition, you must be using minFraud custom rules.
Instance Attribute Summary collapse
-
#action ⇒ String?
readonly
The action to take on the transaction as defined by your custom rules.
-
#reason ⇒ String?
readonly
The reason for the action.
-
#rule_label ⇒ String?
readonly
The label of the custom rule that was triggered.
Instance Attribute Details
#action ⇒ String? (readonly)
The action to take on the transaction as defined by your custom rules. The current set of values are “accept”, “manual_review”, “reject”, and “test”. If you do not have custom rules set up, this will be nil.
17 18 19 |
# File 'lib/minfraud/model/disposition.rb', line 17 def action @action end |
#reason ⇒ String? (readonly)
The reason for the action. The current possible values are “custom_rule” and “default”. If you do not have custom rules set up, this will be nil.
24 25 26 |
# File 'lib/minfraud/model/disposition.rb', line 24 def reason @reason end |
#rule_label ⇒ String? (readonly)
The label of the custom rule that was triggered. If you do not have custom rules set up, the triggered custom rule does not have a label, or no custom rule was triggered, this will be nil.
30 31 32 |
# File 'lib/minfraud/model/disposition.rb', line 30 def rule_label @rule_label end |