lib/braintree/credit_card_verification.rb in braintree-3.3.0 vs lib/braintree/credit_card_verification.rb in braintree-3.4.0
- old
+ new
@@ -15,14 +15,14 @@
TokenIssuance = "token_issuance"
Unrecognized = "unrecognized"
end
module Status
- Failed = 'failed'
- GatewayRejected = 'gateway_rejected'
- ProcessorDeclined = 'processor_declined'
- Verified = 'verified'
+ Failed = "failed"
+ GatewayRejected = "gateway_rejected"
+ ProcessorDeclined = "processor_declined"
+ Verified = "verified"
All = [Failed, GatewayRejected, ProcessorDeclined, Verified]
end
attr_reader :amount
@@ -90,10 +90,10 @@
class << self
protected :new
end
def self._new(*args) # :nodoc:
- self.new *args
+ self.new(*args)
end
def self.find(*args)
Configuration.gateway.verification.find(*args)
end