Class: AutoPilot::ResultsState

Inherits:
Object
  • Object
show all
Defined in:
lib/auto_pilot/poller.rb

Overview

Represents the state of the results. Are we still waiting for results to post?

Constant Summary collapse

@@waiting =
false

Class Method Summary collapse

Class Method Details

.waiting=(waiting) ⇒ Object



9
10
11
# File 'lib/auto_pilot/poller.rb', line 9

def ResultsState.waiting=(waiting)
  @@waiting = waiting
end

.waiting?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/auto_pilot/poller.rb', line 6

def ResultsState.waiting?
  @@waiting
end