# File lib/twitter/rest/users.rb, line 33 def settings(options = {}) request_method = options.size.zero? ? :get : :post response = perform_request(request_method.to_sym, '/1.1/account/settings.json', options) # https://dev.twitter.com/issues/59 response.update(:trend_location => response.fetch(:trend_location, []).first) Twitter::Settings.new(response) end