Class: GnipApi::Endpoints
- Inherits:
-
Object
- Object
- GnipApi::Endpoints
- Defined in:
- lib/gnip_api/endpoints.rb
Class Method Summary collapse
- .powertrack_rule_replay ⇒ Object
- .powertrack_rule_validator ⇒ Object
- .powertrack_rules ⇒ Object
- .powertrack_stream ⇒ Object
- .powertrack_stream_replay ⇒ Object
- .search_activities ⇒ Object
- .search_counts ⇒ Object
Class Method Details
.powertrack_rule_replay ⇒ Object
24 25 26 |
# 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 ⇒ Object
4 5 6 |
# 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 ⇒ Object
8 9 10 |
# 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 ⇒ Object
12 13 14 |
# 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 ⇒ Object
20 21 22 |
# 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 ⇒ Object
28 29 30 |
# 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 ⇒ Object
32 33 34 |
# 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 |