Object
# File lib/twitter/local_trends.rb, line 7 7: def self.available(query={}) 8: before_test(query) 9: query.delete(:api_endpoint) 10: get("/available.json", :query => query).map{|location| Twitter.mash(location)} 11: end
# File lib/twitter/local_trends.rb, line 13 13: def self.for_location(woeid,options = {}) 14: before_test(options) 15: get("/#{woeid}.json").map{|location| Twitter.mash(location)} 16: end
# File lib/twitter/local_trends.rb, line 20 20: def self.before_test(options) 21: configure_base_uri(options) 22: end
# File lib/twitter/local_trends.rb, line 24 24: def self.configure_base_uri(options) 25: new_base_url = options[:api_endpoint] 26: base_uri "#{new_base_url}/#{API_VERSION}/trends" if new_base_url 27: end
Disabled; run with --debug to generate this.
[Validate]
Generated with the Darkfish Rdoc Generator 1.1.6.