Sha256: 576dc820ce116abf71cd647130308297066f7e6897df9edc617374db1f3ea347
Contents?: true
Size: 904 Bytes
Versions: 2
Compression:
Stored size: 904 Bytes
Contents
module Datarank class Client # Module containing methods for interacting with a topic's themes module Themes # Return themes assigned to a topic # # @param slug [String] A topic's unique identifier slug def themes(slug, options={}) get "/topics/#{slug}/themes", options end # Return trend for a specific theme on a topic # # @param slug [String] A topic's unique identifier slug # @param theme_id [Integer] Unique ID of theme def themes_trend(slug, theme_id, options={}) get "/topics/#{slug}/themes/trend/#{theme_id}", options end # Return table for correlation between all themes on a topic # # @param slug [String] A topic's unique identifier slug def themes_correlation(slug, options={}) get "/topics/#{slug}/themes/correlation", options end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
datarank-v2-1.0.0 | lib/datarank/themes.rb |
datarank-1.4.0 | lib/datarank/themes.rb |