Module: GeoNames
- Defined in:
- lib/geo_names.rb,
lib/geo_names/get.rb,
lib/geo_names/base.rb,
lib/geo_names/ocean.rb,
lib/geo_names/srtm1.rb,
lib/geo_names/srtm3.rb,
lib/geo_names/cities.rb,
lib/geo_names/search.rb,
lib/geo_names/address.rb,
lib/geo_names/gtopo30.rb,
lib/geo_names/version.rb,
lib/geo_names/weather.rb,
lib/geo_names/children.rb,
lib/geo_names/contains.rb,
lib/geo_names/siblings.rb,
lib/geo_names/timezone.rb,
lib/geo_names/astergdem.rb,
lib/geo_names/hierarchy.rb,
lib/geo_names/neighbours.rb,
lib/geo_names/earthquakes.rb,
lib/geo_names/find_nearby.rb,
lib/geo_names/country_code.rb,
lib/geo_names/country_info.rb,
lib/geo_names/weather_icao.rb,
lib/geo_names/neighbourhood.rb,
lib/geo_names/geo_code_address.rb,
lib/geo_names/wikipedia_search.rb,
lib/geo_names/postal_code_lookup.rb,
lib/geo_names/postal_code_search.rb,
lib/geo_names/country_subdivision.rb,
lib/geo_names/find_nearby_streets.rb,
lib/geo_names/extended_find_nearby.rb,
lib/geo_names/find_near_by_weather.rb,
lib/geo_names/find_nearest_address.rb,
lib/geo_names/find_nearby_po_is_osm.rb,
lib/geo_names/find_nearby_wikipedia.rb,
lib/geo_names/find_nearby_place_name.rb,
lib/geo_names/wikipedia_bounding_box.rb,
lib/geo_names/find_nearby_streets_osm.rb,
lib/geo_names/find_nearby_postal_codes.rb,
lib/geo_names/postal_code_country_info.rb,
lib/geo_names/find_nearest_intersection.rb,
lib/geo_names/find_nearest_intersection_osm.rb
Defined Under Namespace
Classes: Address, Astergdem, AuthorizationExceptionError, Base, Children, Cities, Configuration, Contains, CountryCode, CountryInfo, CountrySubdivision, DailyLimitOfCreditsExceededError, DatabaseTimeoutError, Earthquakes, ExtendedFindNearby, FindNearByWeather, FindNearby, FindNearbyPOIsOSM, FindNearbyPlaceName, FindNearbyPostalCodes, FindNearbyStreets, FindNearbyStreetsOSM, FindNearbyWikipedia, FindNearestAddress, FindNearestIntersection, FindNearestIntersectionOSM, GeoCodeAddress, Get, Gtopo30, Hierarchy, HourlyLimitOfCreditsExceededError, InvalidInputError, MaxRowsTooLargeError, MissingOrInvalidParameterError, Neighbourhood, Neighbours, NoResultFoundError, Ocean, OtherError, PostalCodeCountryInfo, PostalCodeLookup, PostalCodeNotFoundError, PostalCodeSearch, RadiusTooLargeError, RecordDoesNotExistError, Search, ServerOverloadedExceptionError, ServiceNotImplementedError, Siblings, Srtm1, Srtm3, StatusCodeNotImplementedError, Timezone, Weather, WeatherIcao, WeeklyLimitOfCreditsExceededError, WikipediaBoundingBox, WikipediaSearch
Constant Summary
collapse
- VERSION =
'1.0.2'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
49
50
51
|
# File 'lib/geo_names.rb', line 49
def self.configuration
@configuration ||= Configuration.new
end
|
53
54
55
56
|
# File 'lib/geo_names.rb', line 53
def self.configure
self.configuration ||= Configuration.new
yield(configuration) if block_given?
end
|