quimby 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/foursquare/venue_proxy.rb +2 -1
- metadata +3 -3
@@ -12,9 +12,10 @@ module Foursquare
|
|
12
12
|
raise ArgumentError, "You must include :ll" unless options[:ll]
|
13
13
|
response = @foursquare.get('venues/search', options)["groups"].inject({}) do |venues, group|
|
14
14
|
venues[group["type"]] ||= []
|
15
|
-
venues[group["type"]]
|
15
|
+
venues[group["type"]] += group["items"].map do |json|
|
16
16
|
Foursquare::Venue.new(@foursquare, json)
|
17
17
|
end
|
18
|
+
venues
|
18
19
|
end
|
19
20
|
end
|
20
21
|
|
metadata
CHANGED