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.
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”, and “reject”. 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”, “block_list”, 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 |