lib/braintree/credit_card_verification.rb in braintree-1.0.1 vs lib/braintree/credit_card_verification.rb in braintree-1.1.0
- old
+ new
@@ -1,18 +1,19 @@
module Braintree
class CreditCardVerification
include BaseModule
- attr_reader :avs_error_response_code, :avs_postal_code_response_code,
- :avs_street_address_response_code, :cvv_response_code, :status
+ attr_reader :avs_error_response_code, :avs_postal_code_response_code, :avs_street_address_response_code,
+ :cvv_response_code, :processor_response_code, :processor_response_text, :status
def initialize(attributes) # :nodoc:
set_instance_variables_from_hash(attributes)
end
def inspect # :nodoc:
attr_order = [
- :status, :cvv_response_code, :avs_error_response_code,
+ :status, :processor_response_code, :processor_response_text,
+ :cvv_response_code, :avs_error_response_code,
:avs_postal_code_response_code, :avs_street_address_response_code
]
formatted_attrs = attr_order.map do |attr|
"#{attr}: #{send(attr).inspect}"
end