Exception: Gestpay::Error::VerifyVisa
- Inherits:
-
StandardError
- Object
- StandardError
- Gestpay::Error::VerifyVisa
- Defined in:
- lib/gestpay/error/verify_visa.rb
Instance Attribute Summary collapse
-
#crypted_response ⇒ Object
readonly
Returns the value of attribute crypted_response.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#transaction_key ⇒ Object
readonly
Returns the value of attribute transaction_key.
Instance Method Summary collapse
-
#initialize(info) ⇒ VerifyVisa
constructor
A new instance of VerifyVisa.
Constructor Details
#initialize(info) ⇒ VerifyVisa
Returns a new instance of VerifyVisa.
7 8 9 10 11 |
# File 'lib/gestpay/error/verify_visa.rb', line 7 def initialize(info) @transaction_key = info[:transaction_key] @result = info[:vb_v][:vb_v_buyer] @crypted_response = info[:vb_v][:vb_v_risp] end |
Instance Attribute Details
#crypted_response ⇒ Object (readonly)
Returns the value of attribute crypted_response.
5 6 7 |
# File 'lib/gestpay/error/verify_visa.rb', line 5 def crypted_response @crypted_response end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
5 6 7 |
# File 'lib/gestpay/error/verify_visa.rb', line 5 def result @result end |
#transaction_key ⇒ Object (readonly)
Returns the value of attribute transaction_key.
5 6 7 |
# File 'lib/gestpay/error/verify_visa.rb', line 5 def transaction_key @transaction_key end |