Exception: Gestpay::Error::VerifyVisa

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gestpay/error/verify_visa.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_responseObject (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

#resultObject (readonly)

Returns the value of attribute result.



5
6
7
# File 'lib/gestpay/error/verify_visa.rb', line 5

def result
  @result
end

#transaction_keyObject (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