Method: Foursquare2::Tips#add_tip
- Defined in:
- lib/foursquare2/tips.rb
#add_tip(options = {}) ⇒ Object
Add a tip
57 58 59 60 61 62 |
# File 'lib/foursquare2/tips.rb', line 57 def add_tip(={}) response = connection.post do |req| req.url "tips/add", end return_error_or_body(response, response.body.response.tip) end |