Class: Twitter::Trends
- Inherits:
-
Object
- Object
- Twitter::Trends
- Includes:
- HTTParty
- Defined in:
- lib/twitter/trends.rb
Class Method Summary collapse
-
.current(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags.
-
.daily(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags :date => yyyy-mm-dd for specific date.
-
.weekly(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags :date => yyyy-mm-dd for specific date.
Class Method Details
.current(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags
8 9 10 |
# File 'lib/twitter/trends.rb', line 8 def self.current(={}) mashup(get('/current.json', :query => )) end |
.daily(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags :date => yyyy-mm-dd for specific date
14 15 16 |
# File 'lib/twitter/trends.rb', line 14 def self.daily(={}) mashup(get('/daily.json', :query => )) end |
.weekly(options = {}) ⇒ Object
:exclude => ‘hashtags’ to exclude hashtags :date => yyyy-mm-dd for specific date
20 21 22 |
# File 'lib/twitter/trends.rb', line 20 def self.weekly(={}) mashup(get('/weekly.json', :query => )) end |