class Foursquare::Tips
Public Instance Methods
add(params={})
click to toggle source
General
# File lib/foursquare_tips.rb, line 4 def add(params={}) params = {:venueId => "", :text => "", :url => ""}.merge!(params) perform_graph_request("tips/add", params, "post") end
markdone(tip_id)
click to toggle source
# File lib/foursquare_tips.rb, line 27 def markdone(tip_id) perform_graph_request("tips/#{tip_id}/markdone", {}, "post") end
marktodo(tip_id)
click to toggle source
Actions
# File lib/foursquare_tips.rb, line 23 def marktodo(tip_id) perform_graph_request("tips/#{tip_id}/marktodo", {}, "post") end
search(params={})
click to toggle source
# File lib/foursquare_tips.rb, line 12 def search(params={}) params = {:ll => "37.792694,-122.409325", :limit => "100", :offset => "0", :filter => "", :query => ""}.merge!(params) perform_graph_request("tips/search", params) end
unmark(tip_id)
click to toggle source
# File lib/foursquare_tips.rb, line 31 def unmark(tip_id) perform_graph_request("tips/#{tip_id}/unmark", {}, "post") end