Class: Geocoder::Lookup::SmartyStreets

Inherits:
Base
  • Object
show all
Defined in:
lib/geocoder/lookups/smarty_streets.rb

Instance Method Summary collapse

Methods inherited from Base

#cache, #handle, #initialize, #map_link_url, #query_url, #search

Constructor Details

This class inherits a constructor from Geocoder::Lookup::Base

Instance Method Details

#nameObject



6
7
8
# File 'lib/geocoder/lookups/smarty_streets.rb', line 6

def name
  "SmartyStreets"
end

#required_api_key_partsObject



10
11
12
# File 'lib/geocoder/lookups/smarty_streets.rb', line 10

def required_api_key_parts
  %w(auth-id auth-token)
end

#supported_protocolsObject

required by API as of 26 March 2015



15
16
17
# File 'lib/geocoder/lookups/smarty_streets.rb', line 15

def supported_protocols
  [:https]
end