Sha256: 0ee6d83d59cee52daae923c673319497f49f4ed9d4f9edbc4018cdc1ec5ef2a9
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
module Datarank class Client # Module containing methods for interacting with a topic's reach data module Reach # Fetch reach for a topic grouped by a time interval # # @param slug [String] A topic's unique identifier slug def reach_secondly(slug, options={}) get "/topics/#{slug}/reach/secondly", options end def reach_minutely(slug, options={}) get "/topics/#{slug}/reach/minutely", options end def reach_hourly(slug, options={}) get "/topics/#{slug}/reach/hourly", options end def reach_daily(slug, options={}) get "/topics/#{slug}/reach/daily", options end def reach_weekly(slug, options={}) get "/topics/#{slug}/reach/weekly", options end def reach_monthly(slug, options={}) get "/topics/#{slug}/reach/monthly", options end def reach_quarterly(slug, options={}) get "/topics/#{slug}/reach/quarterly", options end def reach_yearly(slug, options={}) get "/topics/#{slug}/reach/yearly", options end end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
datarank-v2-1.0.0 | lib/datarank/reach.rb |
datarank-1.4.0 | lib/datarank/reach.rb |