lib/braintree/credit_card_verification.rb in braintree-2.56.0 vs lib/braintree/credit_card_verification.rb in braintree-2.57.0
- old
+ new
@@ -47,9 +47,14 @@
def self.search(&block)
Configuration.gateway.verification.search(&block)
end
+ def self.create(attributes)
+ Util.verify_keys(CreditCardVerificationGateway._create_signature, attributes)
+ Configuration.gateway.verification.create(attributes)
+ end
+
def ==(other)
return false unless other.is_a?(CreditCardVerification)
id == other.id
end
end