Module: GoogleGeocodings

Defined in:
lib/google_geocodings.rb,
lib/google_geocodings/client.rb,
lib/google_geocodings/request.rb,
lib/google_geocodings/version.rb,
lib/google_geocodings/location.rb,
lib/google_geocodings/geocoding.rb,
lib/google_geocodings/rectangle.rb,
lib/google_geocodings/unknown_error.rb,
lib/google_geocodings/not_found_error.rb,
lib/google_geocodings/request_denied_error.rb,
lib/google_geocodings/invalid_request_error.rb,
lib/google_geocodings/over_query_limit_error.rb

Defined Under Namespace

Classes: Client, Geocoding, InvalidRequestError, Location, NotFoundError, OverQueryLimitError, Rectangle, Request, RequestDeniedError, UnknownError

Constant Summary collapse

VERSION =
"0.1.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



10
11
12
# File 'lib/google_geocodings.rb', line 10

def api_key
  @api_key
end

Class Method Details

.configuration {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



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

def configuration
  yield self
end

.rootObject



12
13
14
# File 'lib/google_geocodings.rb', line 12

def root
  File.dirname __dir__
end