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
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