lib/braintree/credit_card_verification.rb in braintree-2.36.0 vs lib/braintree/credit_card_verification.rb in braintree-2.37.0
- old
+ new
@@ -10,13 +10,14 @@
VERIFIED = 'verified'
end
attr_reader :avs_error_response_code, :avs_postal_code_response_code, :avs_street_address_response_code,
:cvv_response_code, :merchant_account_id, :processor_response_code, :processor_response_text, :status,
- :id, :gateway_rejection_reason, :credit_card, :billing, :created_at
+ :id, :gateway_rejection_reason, :credit_card, :billing, :created_at, :risk_data
def initialize(attributes) # :nodoc:
set_instance_variables_from_hash(attributes)
+ @risk_data = RiskData.new(attributes[:risk_data]) if attributes[:risk_data]
end
def inspect # :nodoc:
attr_order = [
:status, :processor_response_code, :processor_response_text,