class Gnip::PowerTrackClient

Attributes

account[RW]
backfill_client[RW]
full_archive[R]
label[RW]
password[RW]
power_track_version[R]
publisher[RW]
replay[R]
replay_label[RW]
replay_rules[R]
rules[R]
stream[R]
thirty_day[R]
username[RW]

Public Class Methods

new(options = {}) click to toggle source
# File lib/gnip/power_track_client.rb, line 11
def initialize(options = {})
  @account             = options[:account]
  @publisher           = options[:publisher] || 'twitter'
  @label               = options[:label] || 'dev'
  @replay_label        = options[:replay_label] || @label
  @username            = options[:username]
  @password            = options[:password]
  @backfill_client     = options[:backfill_client] || nil
  @power_track_version = options[:power_track_version] || '2.0'
  @rules               = Gnip::GnipRules::Rules.new(self)
  @replay_rules        = Gnip::GnipRules::Rules.new(self, true)
  @full_archive        = Gnip::GnipFullArchive::FullArchive.new(self)
  @thirty_day          = Gnip::GnipFullArchive::ThirtyDay.new(self)
  @stream              = Gnip::GnipStream::Stream.new(self)
  @replay              = Gnip::GnipStream::Replay.new(self)
end