Class: Amphibian::Runner
- Inherits:
-
Object
- Object
- Amphibian::Runner
- Defined in:
- lib/amphibian/runner.rb
Instance Method Summary collapse
- #do_check ⇒ Object
-
#initialize(balancer_manager_url, test_page = '/', test_regex = nil, dry_run = false) ⇒ Runner
constructor
TODO: log everything, and set log level, so we don’t have to print anything TODO: Email at the end.
Constructor Details
#initialize(balancer_manager_url, test_page = '/', test_regex = nil, dry_run = false) ⇒ Runner
TODO: log everything, and set log level, so we don’t have to print anything TODO: Email at the end
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/amphibian/runner.rb', line 6 def initialize(balancer_manager_url, test_page='/', test_regex=nil, dry_run=false) @balancer_manager_url = balancer_manager_url @test_page = test_page @test_regex = test_regex @dry_run = dry_run @errors = [] @balancer_manager = BalancerManager.new(@balancer_manager_url, @dry_run) @min_hosts = -1 end |
Instance Method Details
#do_check ⇒ Object
18 19 20 |
# File 'lib/amphibian/runner.rb', line 18 def do_check check end |