Sha256: e85a79320395b61d5f7549cb4c7738348039fca617a993c00c0d5ccd15475fb4
Contents?: true
Size: 870 Bytes
Versions: 5
Compression:
Stored size: 870 Bytes
Contents
# encoding: utf-8 require 'ffaker/address' module FFaker module AddressIN include FFaker::Address extend ModuleUtils extend self def zip_code FFaker.numerify('######') end alias pincode zip_code def state fetch_sample(STATE) end def state_abbr fetch_sample(STATE_ABBR) end def union_territory fetch_sample(UNION_TERRITORY) end def union_territory_abbr fetch_sample(UNION_TERRITORY_ABBR) end def state_and_union_territory fetch_sample(STATE + UNION_TERRITORY) end def state_and_union_territory_abbr fetch_sample(STATE_ABBR + UNION_TERRITORY_ABBR) end def country FFaker::Address.country('IN') end def country_code FFaker::Address.country_code('India') end def time_zone 'Asia/Kolkata' end end end
Version data entries
5 entries across 5 versions & 1 rubygems