lib/braintree/credit_card_verification.rb in braintree-2.97.0 vs lib/braintree/credit_card_verification.rb in braintree-2.98.0
- old
+ new
@@ -22,22 +22,26 @@
attr_reader :currency_iso_code
attr_reader :cvv_response_code
attr_reader :gateway_rejection_reason
attr_reader :id
attr_reader :merchant_account_id
+ attr_reader :network_response_code
+ attr_reader :network_response_text
attr_reader :processor_response_code
attr_reader :processor_response_text
attr_reader :processor_response_type
attr_reader :risk_data
+ attr_reader :three_d_secure_info
attr_reader :status
def initialize(attributes) # :nodoc:
set_instance_variables_from_hash(attributes)
@amount = Util.to_big_decimal(amount)
@risk_data = RiskData.new(attributes[:risk_data]) if attributes[:risk_data]
+ @three_d_secure_info = ThreeDSecureInfo.new(attributes[:three_d_secure_info]) if attributes[:three_d_secure_info]
end
def inspect # :nodoc:
attr_order = [
:status,
@@ -47,9 +51,11 @@
:currency_iso_code,
:cvv_response_code,
:avs_error_response_code,
:avs_postal_code_response_code,
:avs_street_address_response_code,
+ :network_response_code,
+ :network_response_text,
:merchant_account_id,
:gateway_rejection_reason,
:id,
:credit_card,
:billing,