lib/whatser/api/foursquare.rb in whatser-0.3.1 vs lib/whatser/api/foursquare.rb in whatser-0.3.2
- old
+ new
@@ -1,5 +1,11 @@
module Whatser
class Foursquare < Whatser::Service
@key = 'foursquare'
+
+ class << self
+ def get_friends(opts={})
+ api_request :get, "/oauth/services/foursquare/friends", {:query => opts}, :model => Whatser::User
+ end
+ end
end
end
\ No newline at end of file