# File lib/twitter/client/trends.rb, line 14 def trends(type = :global) uri = @@TRENDS_URIS[type] response = rest_oauth_connect(:get, uri) if type === :locations bless_models(Twitter::Location.unmarshal(response.body)) else bless_models(Twitter::Trendline.unmarshal(response.body)) end end