Class: Twitter::Geo

Inherits:
Object
  • Object
show all
Includes:
HTTParty
Defined in:
lib/twitter/geo.rb

Class Method Summary collapse

Class Method Details

.place(place_id, query = {}) ⇒ Object



7
8
9
# File 'lib/twitter/geo.rb', line 7

def self.place(place_id, query={})
  Twitter.mash(get("/id/#{place_id}.json", :query => query))
end

.reverse_geocode(query = {}) ⇒ Object



15
16
17
# File 'lib/twitter/geo.rb', line 15

def self.reverse_geocode(query={})
  mashup(get("/reverse_geocode.json", :query => query))
end

.search(query = {}) ⇒ Object



11
12
13
# File 'lib/twitter/geo.rb', line 11

def self.search(query={})
  mashup(get("/search.json", :query => query))
end