class Minfraud::Model::Disposition
Model
with the disposition set by custom rules.
In order to receive a disposition, you must be using minFraud custom rules.
Attributes
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.
@return [String, nil]
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.
@return [String, nil]
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. @return [String, nil]
Public Class Methods
@!visibility private
Minfraud::Model::Abstract::new
# File lib/minfraud/model/disposition.rb, line 33 def initialize(record) super(record) @action = get('action') @reason = get('reason') @rule_label = get('rule_label') end