Module: JapaneseAddressParser

Defined in:
lib/japanese_address_parser.rb,
lib/japanese_address_parser/version.rb,
lib/japanese_address_parser/csv_parser.rb,
lib/japanese_address_parser/exceptions.rb,
lib/japanese_address_parser/models/city.rb,
lib/japanese_address_parser/models/town.rb,
lib/japanese_address_parser/address_parser.rb,
lib/japanese_address_parser/models/address.rb,
lib/japanese_address_parser/models/prefecture.rb,
lib/japanese_address_parser/address_normalizer.rb,
lib/japanese_address_parser/address_normalizer/normalize_japanese_addresses_schmoozer.rb

Defined Under Namespace

Modules: AddressNormalizer, AddressParser, CsvParser, Models Classes: NormalizeError

Constant Summary collapse

VERSION =
'3.2.0'

Class Method Summary collapse

Class Method Details

.call(full_address) ⇒ Object



8
9
10
11
12
# File 'lib/japanese_address_parser.rb', line 8

def call(full_address)
  _call(full_address)
rescue ::JapaneseAddressParser::NormalizeError
  nil
end

.call!(full_address) ⇒ Object



14
15
16
# File 'lib/japanese_address_parser.rb', line 14

def call!(full_address)
  _call(full_address)
end