Module: Braintree::Test::VenmoSDK

Defined in:
lib/braintree/test/venmo_sdk.rb

Constant Summary collapse

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"

Class Method Summary collapse

Class Method Details

.generate_test_payment_method_code(card_number) ⇒ Object


4
5
6
# File 'lib/braintree/test/venmo_sdk.rb', line 4

def self.generate_test_payment_method_code(card_number)
  "stub-#{card_number}"
end