Class: Forgery::BankAccount
- Defined in:
- lib/forgery/forgery/bank_account.rb
Overview
Generates random bank account information
Constant Summary
Constants inherited from Forgery
Class Method Summary collapse
-
.bic ⇒ Object
Gets a random bic out of the ‘bics’ dictionary.
-
.iban ⇒ Object
Gets a random iban out of the ‘ibans’ dictionary.
Methods inherited from Forgery
Extend, dictionaries, formats, load_from!, load_paths, rails?, rails_root
Class Method Details
.bic ⇒ Object
22 23 24 |
# File 'lib/forgery/forgery/bank_account.rb', line 22 def self.bic dictionaries[:bics].random.unextend end |