Class: FakeFaker::Stripe
- Inherits:
-
Object
- Object
- FakeFaker::Stripe
- Defined in:
- lib/fake_faker/stripe.rb
Class Method Summary collapse
- .ccv(card_type = nil) ⇒ Object
- .invalid_card(card_error = nil) ⇒ Object
- .valid_card(card_type = nil) ⇒ Object
- .valid_token(card_type = nil) ⇒ Object
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 |