# File lib/twitter/api.rb, line 172 def rate_limited?(method_name) method_rate_limited = METHOD_RATE_LIMITED[method_name.to_sym] raise ArgumentError.new("no method `#{method_name}' for #{self.class}") if method_rate_limited.nil? method_rate_limited end