Class: Minfraud::Model::Disposition

Inherits:
Abstract
  • Object
show all
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

Instance Attribute Details

#actionString? (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.

Returns:

  • (String, nil)


17
18
19
# File 'lib/minfraud/model/disposition.rb', line 17

def action
  @action
end

#reasonString? (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.

Returns:

  • (String, nil)


24
25
26
# File 'lib/minfraud/model/disposition.rb', line 24

def reason
  @reason
end