Sha256: 407f643e40d58df703e2a5b058196ced1ed38952593eca173876dcb90ee7537f
Contents?: true
Size: 1.44 KB
Versions: 4
Compression:
Stored size: 1.44 KB
Contents
module GnipApi class Endpoints class << self def powertrack_rule_validator URI("https://gnip-api.twitter.com/rules/powertrack/accounts/#{account}/publishers/twitter/#{label}/validation.json") end def powertrack_rules URI("https://gnip-api.twitter.com/rules/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end def powertrack_stream URI("https://gnip-stream.twitter.com/stream/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end def powertrack_rule_validator URI("https://gnip-api.twitter.com/rules/powertrack/accounts/#{account}/publishers/twitter/#{label}/validation.json") end def powertrack_stream_replay URI("https://gnip-stream.twitter.com/replay/powertrack/accounts/#{account}/publishers/twitter/#{label}.json") end def powertrack_rule_replay URI("https://gnip-api.twitter.com/rules/powertrack-replay/accounts/#{account}/publishers/twitter/#{label}.json") end def search_activities URI("https://gnip-api.twitter.com/search/fullarchive/accounts/#{account}/#{label}.json") end def search_counts URI("https://gnip-api.twitter.com/search/fullarchive/accounts/#{account}/#{label}/counts.json") end private def account GnipApi.configuration.account end def label GnipApi.configuration.label end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gnip_api-1.2.4 | lib/gnip_api/endpoints.rb |
gnip_api-1.2.3 | lib/gnip_api/endpoints.rb |
gnip_api-1.2.2 | lib/gnip_api/endpoints.rb |
gnip_api-1.2.1 | lib/gnip_api/endpoints.rb |