Method: Foursquare2::Lists#follow_list
- Defined in:
- lib/foursquare2/lists.rb
permalink #follow_list(list_id, options = {}) ⇒ Object
Follow a list: developer.foursquare.com/docs/lists/follow
37 38 39 40 41 42 |
# File 'lib/foursquare2/lists.rb', line 37 def follow_list(list_id, ={}) response = connection.post do |req| req.url "lists/#{list_id}/follow", end return_error_or_body(response, response.body.response.list) end |