class Faker::Business

Public Class Methods

credit_card_expiry_date() click to toggle source
# File lib/faker/business.rb, line 12
def credit_card_expiry_date
  ::Date.today + (365 * (rand(4) + 1))
end
credit_card_number() click to toggle source
# File lib/faker/business.rb, line 8
def credit_card_number
  fetch('business.credit_card_numbers')
end
credit_card_type() click to toggle source
# File lib/faker/business.rb, line 16
def credit_card_type
  fetch('business.credit_card_types')
end