Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/tobym/twitter into geocode_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wynn Netherland committed Nov 4, 2009
2 parents adfda7d + 43eaaca commit 3c46041
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/twitter/search.rb
Expand Up @@ -73,10 +73,10 @@ def since(since_id)
self
end

# Search tweets by longitude, latitude and a given range.
# Search tweets by latitude, longitude, and a given range.
# Ranges like 25km and 50mi work.
def geocode(long, lat, range)
@query[:geocode] = [long, lat, range].join(',')
def geocode(lat, long, range)
@query[:geocode] = [lat, long, range].join(',')
self
end

Expand Down

0 comments on commit 3c46041

Please sign in to comment.