Module: Datarank::Client::Themes
- Included in:
- Datarank::Client
- Defined in:
- lib/datarank/themes.rb
Overview
Module containing methods for interacting with a topic’s themes
Instance Method Summary collapse
-
#themes(slug, options = {}) ⇒ Object
Return themes assigned to a topic.
-
#themes_correlation(slug, options = {}) ⇒ Object
Return table for correlation between all themes on a topic.
-
#themes_trend(slug, theme_id, options = {}) ⇒ Object
Return trend for a specific theme on a topic.
Instance Method Details
#themes(slug, options = {}) ⇒ Object
Return themes assigned to a topic
10 11 12 |
# File 'lib/datarank/themes.rb', line 10 def themes(slug, ={}) get "/topics/#{slug}/themes", end |
#themes_correlation(slug, options = {}) ⇒ Object
Return table for correlation between all themes on a topic
25 26 27 |
# File 'lib/datarank/themes.rb', line 25 def themes_correlation(slug, ={}) get "/topics/#{slug}/themes/correlation", end |
#themes_trend(slug, theme_id, options = {}) ⇒ Object
Return trend for a specific theme on a topic
18 19 20 |
# File 'lib/datarank/themes.rb', line 18 def themes_trend(slug, theme_id, ={}) get "/topics/#{slug}/themes/trend/#{theme_id}", end |