module PowerTrackV2

Public Class Methods

add_rules(url, rules, optional_headers = {}) click to toggle source
# File lib/powertrack_v2.rb, line 15
def self.add_rules(url, rules, optional_headers = {})
  PowerTrackV2::Rule.post(url, rules, optional_headers)
end
get_rules(url, optional_headers = {}) click to toggle source
# File lib/powertrack_v2.rb, line 23
def self.get_rules(url, optional_headers = {})
  PowerTrackV2::Rule.get(url, optional_headers)
end
remove_rules(url, rules, optional_headers = {}) click to toggle source
# File lib/powertrack_v2.rb, line 19
def self.remove_rules(url, rules, optional_headers = {})
  PowerTrackV2::Rule.delete(url, rules, optional_headers)
end
rules_url(publisher, account, stream_label) click to toggle source
# File lib/powertrack_v2.rb, line 11
def self.rules_url(publisher, account, stream_label)
  PowerTrackV2::Rule.url(publisher, account, stream_label)
end
stream(url, opts = { ignore_heartbeat: true }, &block) click to toggle source
# File lib/powertrack_v2.rb, line 27
def self.stream(url, opts = { ignore_heartbeat: true }, &block)
  PowerTrackV2::Stream.stream(url, opts, &block)
end
stream_url(publisher, account, stream_label) click to toggle source
# File lib/powertrack_v2.rb, line 7
def self.stream_url(publisher, account, stream_label)
  PowerTrackV2::Stream.url(publisher, account, stream_label)
end