Class: Geocoder::Lookup::Dstk
- Defined in:
- lib/geocoder/lookups/dstk.rb
Instance Method Summary collapse
Methods inherited from Google
#map_link_url, #supported_protocols
Methods inherited from Base
#cache, #handle, #initialize, #map_link_url, #required_api_key_parts, #search, #supported_protocols
Constructor Details
This class inherits a constructor from Geocoder::Lookup::Base
Instance Method Details
#name ⇒ Object
11 12 13 |
# File 'lib/geocoder/lookups/dstk.rb', line 11 def name "Data Science Toolkit" end |
#query_url(query) ⇒ Object
15 16 17 18 |
# File 'lib/geocoder/lookups/dstk.rb', line 15 def query_url(query) host = configuration[:host] || "www.datasciencetoolkit.org" "#{protocol}://#{host}/maps/api/geocode/json?" + url_query_string(query) end |