Class: FakeFaker::Stripe

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/stripe.rb

Class Method Summary collapse

Class Method Details

.ccv(card_type = nil) ⇒ Object



4
5
6
# File 'lib/fake_faker/stripe.rb', line 4

def ccv(card_type = nil)
  ::Faker::Stripe.ccv(card_type: card_type)
end

.invalid_card(card_error = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/stripe.rb', line 8

def invalid_card(card_error = nil)
  ::Faker::Stripe.invalid_card(card_error: card_error)
end

.valid_card(card_type = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/stripe.rb', line 12

def valid_card(card_type = nil)
  ::Faker::Stripe.valid_card(card_type: card_type)
end

.valid_token(card_type = nil) ⇒ Object



16
17
18
# File 'lib/fake_faker/stripe.rb', line 16

def valid_token(card_type = nil)
  ::Faker::Stripe.valid_token(card_type: card_type)
end