Faker::Finance # Random credit_card Faker::Finance.credit_card #=> "3018-348979-1853" Faker::Finance.credit_card(:mastercard) #=> "6771-8921-2291-6236" Faker::Finance.credit_card(:mastercard, :visa) #=> "4448-8934-1277-7195"