lib/braintree/credit_card_verification.rb in braintree-2.43.0 vs lib/braintree/credit_card_verification.rb in braintree-2.44.0
- old
+ new
@@ -1,13 +1,15 @@
module Braintree
class CreditCardVerification
include BaseModule
module Status
- FAILED = 'failed'
- GATEWAY_REJECTED = 'gateway_rejected'
- PROCESSOR_DECLINED = 'processor_declined'
- VERIFIED = 'verified'
+ Failed = 'failed'
+ GatewayRejected = 'gateway_rejected'
+ ProcessorDeclined = 'processor_declined'
+ Verified = 'verified'
+
+ All = [Failed, GatewayRejected, ProcessorDeclined, 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, :risk_data