Module: Yahoo::GeoPlanet

Defined in:
lib/yahoo-geoplanet.rb,
lib/yahoo-geoplanet/base.rb,
lib/yahoo-geoplanet/place.rb,
lib/yahoo-geoplanet/version.rb

Defined Under Namespace

Modules: VERSION Classes: Base, Place, YahooWebServiceError

Constant Summary collapse

LOCALE =
"us"
API_VERSION =
"v1"
API_URL =
"http://where.yahooapis.com/v1/"

Class Method Summary collapse

Class Method Details

.app_id=(_id) ⇒ Object



19
20
21
# File 'lib/yahoo-geoplanet.rb', line 19

def app_id=(_id)
  Yahoo::GeoPlanet::Base::connection = REST::Connection.new(API_URL, 'app_id' => _id)
end