Module: CheckHTTP

Extended by:
CheckHTTP
Included in:
CheckHTTP
Defined in:
lib/check_http.rb,
lib/check_http/cli.rb,
lib/check_http/checker.rb,
lib/check_http/version.rb

Defined Under Namespace

Classes: CLI, Checker

Constant Summary collapse

VERSION =
"0.1.1"

Instance Method Summary collapse

Instance Method Details

#check(url, opts = {}) ⇒ Object



16
17
18
# File 'lib/check_http.rb', line 16

def check(url,opts={})
  checker.check(url,opts)
end

#checkerObject



12
13
14
# File 'lib/check_http.rb', line 12

def checker
  @checker ||= Checker.new
end