class GnipApi::Endpoints
Public Class Methods
powertrack_rule_replay()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 24 def powertrack_rule_replay URI("https://gnip-api.twitter.com/rules/powertrack-replay/accounts/#{account}/publishers/twitter/#{label}.json") end
powertrack_rule_validator()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 4 def powertrack_rule_validator URI("https://gnip-api.twitter.com/rules/powertrack/accounts/#{account}/publishers/twitter/#{label}/validation.json") end
powertrack_rules()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 8 def powertrack_rules URI("https://gnip-api.twitter.com/rules/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end
powertrack_stream()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 12 def powertrack_stream URI("https://gnip-stream.twitter.com/stream/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end
powertrack_stream_replay()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 20 def powertrack_stream_replay URI("https://gnip-stream.twitter.com/replay/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end
search_activities()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 28 def search_activities URI("https://gnip-api.twitter.com/search/fullarchive/accounts/#{account}/#{label}.json") end
search_counts()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 32 def search_counts URI("https://gnip-api.twitter.com/search/fullarchive/accounts/#{account}/#{label}/counts.json") end
Private Class Methods
account()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 37 def account GnipApi.configuration.account end
label()
click to toggle source
# File lib/gnip_api/endpoints.rb, line 41 def label GnipApi.configuration.label end