lib/braintree/credit_card.rb in braintree-4.14.0 vs lib/braintree/credit_card.rb in braintree-4.15.0

- old
+ new

@@ -21,10 +21,20 @@ Unknown = "Unknown" All = constants.map { |c| const_get(c) } end + module DebitNetwork + Accel = "ACCEL" + Nyce = "NYCE" + Pulse = "PULSE" + Star = "STAR" + Star_Access = "STAR_ACCESS" + + All = constants.map { |c| const_get(c) } + end + module CustomerLocation International = "international" US = "us" end @@ -158,10 +168,13 @@ def nonce @nonce ||= PaymentMethodNonce.create(token) end # Returns true if the card is associated with Venmo SDK + # NEXT_MAJOR_VERSION Remove this method + # The old venmo SDK class has been deprecated def venmo_sdk? + warn "[DEPRECATED] The Venmo SDK integration is Unsupported. Please update your integration to use Pay with Venmo instead." @venmo_sdk end def is_network_tokenized? @is_network_tokenized