Sha256: 355ebd2854e724dbe75cc9a13a12fad65ef33d41472ee4a2395fd541707e1cae
Contents?: true
Size: 371 Bytes
Versions: 19
Compression:
Stored size: 371 Bytes
Contents
require 'date' module Faker class Business < Base flexible :business class << self def credit_card_number fetch('business.credit_card_numbers') end def credit_card_expiry_date ::Date.today + (365 * (rand(4) + 1)) end def credit_card_type fetch('business.credit_card_types') end end end end
Version data entries
19 entries across 19 versions & 2 rubygems