lib/sensu-plugins-gpg/key.rb
# Return the meaningful word for a specified level
Return the meaningful word for a specified level
Return the meaningful word for a specified level
def map_number_to_word_level(level)
    case level
    when 0
      'OK'
    when 1
      'WARNING'
    when 2
      'CRITICAL'
    when 3
      'UNKNOWN'
    end
  end
def map_number_to_word_level ( level ) case level when 0 'OK' when 1 'WARNING' when 2 'CRITICAL' when 3 'UNKNOWN' end end
Return the meaningful word for a specified level
Return the meaningful word for a specified level
level