Class: FakeFaker::Code

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/code.rb

Class Method Summary collapse

Class Method Details

.ean(base = nil) ⇒ Object



4
5
6
# File 'lib/fake_faker/code.rb', line 4

def ean(base = nil)
  ::Faker::Code.ean(base: base)
end

.isbn(base = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/code.rb', line 8

def isbn(base = nil)
  ::Faker::Code.isbn(base: base)
end

.nric(min_age = nil, max_age = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/code.rb', line 12

def nric(min_age = nil, max_age = nil)
  ::Faker::Code.nric(min_age: min_age, max_age: max_age)
end