lib/foursquare2/pages.rb in foursquare2-2.0.0 vs lib/foursquare2/pages.rb in foursquare2-2.0.1
- old
+ new
@@ -46,7 +46,19 @@
end
venues = return_error_or_body(response, response.body.response.venues)
venues = Foursquare2.filter(venues, options[:query]) if options.has_key? :query
venues
end
+
+
+ #
+ # Returns a list of managed pages.
+ #
+
+ def managed_pages(options={})
+ response = connection.get do |req|
+ req.url "pages/managing", options
+ end
+ return_error_or_body(response, response.body.response.managing)
+ end
end
end
\ No newline at end of file