Module: FFaker::IdentificationEC

Extended by:
IdentificationEC, ModuleUtils
Included in:
IdentificationEC
Defined in:
lib/ffaker/identification_ec.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, luhn_check, underscore, unique

Methods included from RandomUtils

#fetch_sample, #rand, #shuffle

Instance Method Details

#ciObject



10
11
12
13
# File 'lib/ffaker/identification_ec.rb', line 10

def ci
  first_digits = ci_digits
  "#{first_digits}#{last_digit(first_digits)}"
end