# File lib/twitter/client/favorites.rb, line 28 def favorites(*args) options = args.last.is_a?(Hash) ? args.pop : {} user = args.first response = get([1, 'favorites', user].compact.join('/'), options) format.to_s.downcase == 'xml' ? response['statuses'] : response end