Class: Atig::Agent::Timeline

Inherits:
Agent
  • Object
show all
Defined in:
lib/atig/agent/timeline.rb

Instance Method Summary collapse

Methods included from ExceptionUtil

daemon, safe

Constructor Details

#initialize(context, api, db) ⇒ Timeline

Returns a new instance of Timeline.



7
8
9
10
# File 'lib/atig/agent/timeline.rb', line 7

def initialize(context, api, db)
  return if context.opts.stream
  super
end

Instance Method Details

#intervalObject



11
# File 'lib/atig/agent/timeline.rb', line 11

def interval; 30 end

#pathObject



12
# File 'lib/atig/agent/timeline.rb', line 12

def path; '/statuses/home_timeline' end

#sourceObject



13
# File 'lib/atig/agent/timeline.rb', line 13

def source; :timeline end