Class: Twitter::Geo
Class Method Summary collapse
- .place(place_id, query = {}) ⇒ Object
- .reverse_geocode(query = {}) ⇒ Object
- .search(query = {}) ⇒ Object
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 |