lib/foursquare2/users.rb
def user_todos(user_id, options={})
      response = connection.get do |req|
        req.url "users/#{user_id}/todos", options
      end
      return_error_or_body(response, response.body.response.todos)
    end
def user_todos(user_id, options={})
      response = connection.get do |req|
        req.url "users/#{user_id}/todos", options
      end
      return_error_or_body(response, response.body.response.todos)
    end
def user_todos ( user_id , options = { } ) response = connection . get do | req | req . url "users/#{user_id}/todos" , options end return_error_or_body ( response , response . body . response . todos ) end
Get all todos for a given user.

 @param [String] user_id - The user to retrieve friends for.
 @param [Hash]  options
 @option options String :sort - One of recent, nearby, popular
 @option options String :ll - Latitude and longitude in format LAT,LON - required for nearby sort option.
Get all todos for a given user .