Class: Caramelize::HealthCheck
- Inherits:
-
Object
- Object
- Caramelize::HealthCheck
- Defined in:
- lib/caramelize/health_check.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#wiki_path ⇒ Object
readonly
Returns the value of attribute wiki_path.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(wiki_path, options = {}) ⇒ HealthCheck
constructor
A new instance of HealthCheck.
Constructor Details
#initialize(wiki_path, options = {}) ⇒ HealthCheck
Returns a new instance of HealthCheck.
7 8 9 10 |
# File 'lib/caramelize/health_check.rb', line 7 def initialize(wiki_path, = {}) @wiki_path = wiki_path = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/caramelize/health_check.rb', line 5 def end |
#wiki_path ⇒ Object (readonly)
Returns the value of attribute wiki_path.
5 6 7 |
# File 'lib/caramelize/health_check.rb', line 5 def wiki_path @wiki_path end |
Instance Method Details
#execute ⇒ Object
12 13 14 15 |
# File 'lib/caramelize/health_check.rb', line 12 def execute HealthChecks::HomePageCheck.new(gollum).check HealthChecks::OrphanedPagesCheck.new(gollum).check end |