module FFaker::PhoneNumberKR
def contry_code
def contry_code '+82' end
def home_work_phone_number
def home_work_phone_number FFaker.numerify("#{fetch_sample(HOME_PHONE_PREFIXES)} #### ####") end
def international_home_work_phone_number
def international_home_work_phone_number number = home_work_phone_number number[0] = "#{contry_code} " number end
def international_mobile_phone_number
def international_mobile_phone_number number = mobile_phone_number number[0] = "#{contry_code} " number end
def international_phone_number
def international_phone_number case rand(0..1) when 0 then international_mobile_phone_number when 1 then international_home_work_phone_number end end
def mobile_phone_number
def mobile_phone_number FFaker.numerify("#{fetch_sample(MOBILE_PHONE_PREFIXES)} #### ####") end
def phone_number
def phone_number case rand(0..1) when 0 then home_work_phone_number when 1 then mobile_phone_number end end