Module: MotionGeocoder::GoogleApi

Extended by:
GoogleApi
Included in:
GoogleApi
Defined in:
lib/motion-geocoder/google_api.rb,
lib/motion-geocoder/google_api/place.rb,
lib/motion-geocoder/google_api/geocode.rb

Defined Under Namespace

Modules: Geocode, Place

Instance Method Summary collapse

Instance Method Details

#keyObject



11
12
13
# File 'lib/motion-geocoder/google_api.rb', line 11

def key
  @key
end

#register(key) ⇒ Object



15
16
17
# File 'lib/motion-geocoder/google_api.rb', line 15

def register(key)
  @key = key
end

#rootObject



7
8
9
# File 'lib/motion-geocoder/google_api.rb', line 7

def root
  "https://maps.googleapis.com/maps/api/"
end