Module: City::And::State

Defined in:
lib/city/and/state.rb,
lib/city/and/state/version.rb

Overview

the ‘CityState` module while preserving the previous API surface used by clients.

Constant Summary collapse

Error =
::CityState::Error
VERSION =
CityState::VERSION

Class Method Summary collapse

Class Method Details

.cities(country, state = nil) ⇒ Object



90
91
92
# File 'lib/city/and/state.rb', line 90

def self.cities(country, state = nil)
  ::CityState.cities(country, state)
end

.countriesObject



82
83
84
# File 'lib/city/and/state.rb', line 82

def self.countries
  ::CityState.countries
end

.states(country) ⇒ Object



86
87
88
# File 'lib/city/and/state.rb', line 86

def self.states(country)
  ::CityState.states(country)
end