Class: OkComputer::DefaultCheck

Inherits:
Check
  • Object
show all
Defined in:
lib/ok_computer/built_in_checks/default_check.rb

Constant Summary

Constants inherited from Check

Check::CheckNotDefined

Instance Attribute Summary

Attributes inherited from Check

#failure_occurred, #message, #registrant_name, #time

Instance Method Summary collapse

Methods inherited from Check

#<=>, #clear, #mark_failure, #mark_message, #run, #success?, #to_json, #to_text, #with_benchmarking

Instance Method Details

#checkObject

Public: Check that Rails can render anything at all



4
5
6
# File 'lib/ok_computer/built_in_checks/default_check.rb', line 4

def check
  mark_message "Application is running"
end