Class: StandardHealth::Configuration::Registration

Inherits:
Struct
  • Object
show all
Defined in:
lib/standard_health/configuration.rb

Overview

A registered health check entry.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#criticalObject

Returns the value of attribute critical

Returns:

  • (Object)

    the current value of critical



15
16
17
# File 'lib/standard_health/configuration.rb', line 15

def critical
  @critical
end

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



15
16
17
# File 'lib/standard_health/configuration.rb', line 15

def klass
  @klass
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



15
16
17
# File 'lib/standard_health/configuration.rb', line 15

def name
  @name
end

Instance Method Details

#critical?Boolean

Returns:

  • (Boolean)


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

def critical?
  !!critical
end