Class: BorderPatrol::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/border_patrol/configuration.rb

Constant Summary collapse

POLLING_PERIOD =
30

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



7
8
9
10
11
# File 'lib/border_patrol/configuration.rb', line 7

def initialize
  @terminate = false
  @ignore_console = true
  @polling_period = 30
end

Instance Attribute Details

#ignore_consoleObject

Returns the value of attribute ignore_console.



5
6
7
# File 'lib/border_patrol/configuration.rb', line 5

def ignore_console
  @ignore_console
end

#polling_periodObject

Returns the value of attribute polling_period.



5
6
7
# File 'lib/border_patrol/configuration.rb', line 5

def polling_period
  @polling_period
end

#terminateObject

Returns the value of attribute terminate.



5
6
7
# File 'lib/border_patrol/configuration.rb', line 5

def terminate
  @terminate
end