lib/foursquare2/lists.rb
def add_list(options={})
      response = connection.post do |req|
        req.url "lists/add", options
      end
        return_error_or_body(response, response.body.response.list)
    end
def add_list(options={})
      response = connection.post do |req|
        req.url "lists/add", options
      end
        return_error_or_body(response, response.body.response.list)
    end
def add_list ( options = { } ) response = connection . post do | req | req . url "lists/add" , options end return_error_or_body ( response , response . body . response . list ) end
Add a list: See https://developer.foursquare.com/docs/lists/add

 @param [Hash]  options
 @option options String :name - (required) The name of the list
 @option options String :description - The description of the list.
 @option options Boolean :collaborative - Boolean indicating if this list can be edited by friends.
 @option options String :photoId - The id of a photo that should be set as the list photo.
Add a list : See https : // developer . foursquare . com / docs / lists / add