Module: Livestatus::CheckType
Instance Method Summary collapse
Instance Method Details
#check_type ⇒ Object
82 83 84 85 86 87 |
# File 'lib/livestatus/models.rb', line 82 def check_type { 0 => :active, 1 => :passive, }[data[:check_type]] end |
82 83 84 85 86 87 |
# File 'lib/livestatus/models.rb', line 82 def check_type { 0 => :active, 1 => :passive, }[data[:check_type]] end |