Method: Moonshot::StackEventsPoller#initialize

Defined in:
lib/moonshot/stack_events_poller.rb

#initialize(cf_client, stack_name) ⇒ StackEventsPoller

Returns a new instance of StackEventsPoller.



8
9
10
11
12
13
14
# File 'lib/moonshot/stack_events_poller.rb', line 8

def initialize(cf_client, stack_name)
  @cf_client = cf_client
  @stack_name = stack_name

  # Start showing events from now.
  @last_time = Time.now
end