lib/sensu/api/validators/check.rb
# Determine if a check definition is valid.
#
# @param check [Hash]
# @return [TrueClass, FalseClass]
Determine if a check definition is valid.
Determine if a check definition is valid .
def valid?(check)
          validate_check_result(check)
          true
        rescue Invalid
          false
        end
def valid? ( check ) validate_check_result ( check ) true rescue Invalid false end
Determine if a check definition is valid.
Determine if a check definition is valid .
None
TrueClass, FalseClass
check
None