# File lib/twitter/client/list.rb, line 32 def list_create(*args) options = args.last.is_a?(Hash) ? args.pop : {} name = args.pop if screen_name = args.pop warn "#{caller.first}: [DEPRECATION] Calling #list_create with a screen_name is deprecated and will be removed in the next major version. Please omit the screen_name argument." end response = post("1/lists/create", options.merge(:name => name)) format.to_s.downcase == 'xml' ? response['list'] : response end