Sha256: 13d2797a98eb2346e84f5a259c064b6af9c0957762a1878635aa02c973467c1b
Contents?: true
Size: 372 Bytes
Versions: 5
Compression:
Stored size: 372 Bytes
Contents
module Twitter class LocalTrends include HTTParty base_uri "api.twitter.com/#{API_VERSION}/trends" format :json def self.available(query={}) get("/available.json", :query => query).map{|location| Twitter.mash(location)} end def self.for_location(woeid) get("/#{woeid}.json").map{|location| Twitter.mash(location)} end end end
Version data entries
5 entries across 5 versions & 2 rubygems