Class: MPIClient::Verification::Request
- Inherits:
-
BaseRequest
- Object
- BaseRequest
- MPIClient::Verification::Request
- Defined in:
- lib/mpi_client/verification/request.rb
Constant Summary collapse
- PARAMS_MAP =
{ 'AccountId' => :account_id, 'Amount' => :amount, #in cents 'CardNumber' => :card_number, 'Description' => :description, 'DisplayAmount' => :display_amount, 'CurrencyCode' => :currency, 'ExpY' => :exp_year, 'ExpM' => :exp_month, 'URL' => :termination_url, }
- REQUEST_TYPE =
'vereq'
- FILTERED_FIELDS =
%w(Password)
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#transaction_id ⇒ Object
readonly
Returns the value of attribute transaction_id.
Attributes inherited from BaseRequest
Instance Method Summary collapse
-
#initialize(options, transaction_id) ⇒ Request
constructor
A new instance of Request.
- #process ⇒ Object
Constructor Details
#initialize(options, transaction_id) ⇒ Request
Returns a new instance of Request.
21 22 23 24 |
# File 'lib/mpi_client/verification/request.rb', line 21 def initialize(, transaction_id) @options, @transaction_id = , transaction_id super() end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
19 20 21 |
# File 'lib/mpi_client/verification/request.rb', line 19 def @options end |
#transaction_id ⇒ Object (readonly)
Returns the value of attribute transaction_id.
19 20 21 |
# File 'lib/mpi_client/verification/request.rb', line 19 def transaction_id @transaction_id end |