Sha256: bd3d74cef49e2039814c8246d1d2617d1d693eab27acd4467c19a4ce037bcfdf

Contents?: true

Size: 902 Bytes

Versions: 9

Compression:

Stored size: 902 Bytes

Contents

# NEXT_MAJOR_VERSION Remove this class
# The old venmo SDK class has been deprecated
module Braintree
  module Test
    module VenmoSDK
      def self.generate_test_payment_method_code(card_number)
        "stub-#{card_number}"
      end

      AmExPaymentMethodCode = generate_test_payment_method_code(CreditCardNumbers::AmExes.first)
      DiscoverPaymentMethodCode = generate_test_payment_method_code(CreditCardNumbers::Discovers.first)
      JCBPaymentMethodCode = generate_test_payment_method_code(CreditCardNumbers::JCBs.first)
      MasterCardPaymentMethodCode = generate_test_payment_method_code(CreditCardNumbers::MasterCards.first)
      VisaPaymentMethodCode = generate_test_payment_method_code(CreditCardNumbers::Visas.first)
      InvalidPaymentMethodCode = "stub-invalid-payment-method-code"

      Session = "stub-session"
      InvalidSession = "stub-invalid-session"
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
braintree-4.23.0 lib/braintree/test/venmo_sdk.rb
braintree-4.22.0 lib/braintree/test/venmo_sdk.rb
braintree-4.21.0 lib/braintree/test/venmo_sdk.rb
braintree-4.20.0 lib/braintree/test/venmo_sdk.rb
braintree-4.19.0 lib/braintree/test/venmo_sdk.rb
braintree-4.18.0 lib/braintree/test/venmo_sdk.rb
braintree-4.17.0 lib/braintree/test/venmo_sdk.rb
braintree-4.16.0 lib/braintree/test/venmo_sdk.rb
braintree-4.15.0 lib/braintree/test/venmo_sdk.rb