Module: Datarank::Client::Reach
- Included in:
- Datarank::Client
- Defined in:
- lib/datarank/reach.rb
Overview
Module containing methods for interacting with a topic’s reach data
Instance Method Summary collapse
- #reach_daily(slug, options = {}) ⇒ Object
- #reach_hourly(slug, options = {}) ⇒ Object
- #reach_minutely(slug, options = {}) ⇒ Object
- #reach_monthly(slug, options = {}) ⇒ Object
- #reach_quarterly(slug, options = {}) ⇒ Object
-
#reach_secondly(slug, options = {}) ⇒ Object
Fetch reach for a topic grouped by a time interval.
- #reach_weekly(slug, options = {}) ⇒ Object
- #reach_yearly(slug, options = {}) ⇒ Object
Instance Method Details
#reach_daily(slug, options = {}) ⇒ Object
22 23 24 |
# File 'lib/datarank/reach.rb', line 22 def reach_daily(slug, ={}) get "/topics/#{slug}/reach/daily", end |
#reach_hourly(slug, options = {}) ⇒ Object
18 19 20 |
# File 'lib/datarank/reach.rb', line 18 def reach_hourly(slug, ={}) get "/topics/#{slug}/reach/hourly", end |
#reach_minutely(slug, options = {}) ⇒ Object
14 15 16 |
# File 'lib/datarank/reach.rb', line 14 def reach_minutely(slug, ={}) get "/topics/#{slug}/reach/minutely", end |
#reach_monthly(slug, options = {}) ⇒ Object
30 31 32 |
# File 'lib/datarank/reach.rb', line 30 def reach_monthly(slug, ={}) get "/topics/#{slug}/reach/monthly", end |
#reach_quarterly(slug, options = {}) ⇒ Object
34 35 36 |
# File 'lib/datarank/reach.rb', line 34 def reach_quarterly(slug, ={}) get "/topics/#{slug}/reach/quarterly", end |
#reach_secondly(slug, options = {}) ⇒ Object
Fetch reach for a topic grouped by a time interval
10 11 12 |
# File 'lib/datarank/reach.rb', line 10 def reach_secondly(slug, ={}) get "/topics/#{slug}/reach/secondly", end |
#reach_weekly(slug, options = {}) ⇒ Object
26 27 28 |
# File 'lib/datarank/reach.rb', line 26 def reach_weekly(slug, ={}) get "/topics/#{slug}/reach/weekly", end |
#reach_yearly(slug, options = {}) ⇒ Object
38 39 40 |
# File 'lib/datarank/reach.rb', line 38 def reach_yearly(slug, ={}) get "/topics/#{slug}/reach/yearly", end |