Module: AddressStandardization

Defined in:
lib/address_standardization/address.rb,
lib/address_standardization.rb,
lib/address_standardization/version.rb,
lib/address_standardization/google_maps.rb,
lib/address_standardization/melissa_data.rb,
lib/address_standardization/abstract_service.rb

Overview

TODO: Rename to address.rb

Defined Under Namespace

Classes: AbstractService, Address, GoogleMaps, MelissaData, StandardizationError

Constant Summary collapse

VERSION =
"0.4.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.debug_modeObject Also known as: debug_mode?

Returns the value of attribute debug_mode.



19
20
21
# File 'lib/address_standardization.rb', line 19

def debug_mode
  @debug_mode
end

.test_modeObject Also known as: test_mode?

Returns the value of attribute test_mode.



16
17
18
# File 'lib/address_standardization.rb', line 16

def test_mode
  @test_mode
end

Class Method Details

.debug(*args) ⇒ Object



22
23
24
# File 'lib/address_standardization.rb', line 22

def debug(*args)
  puts(*args) if debug_mode?
end