class WavefrontDisplay::Notificant

Format human-readable output for notification targets.

Public Instance Methods

do_describe() click to toggle source
# File lib/wavefront-cli/display/notificant.rb, line 14
def do_describe
  readable_time(:createdEpochMillis, :updatedEpochMillis)
  long_output
end
do_list_brief() click to toggle source
# File lib/wavefront-cli/display/notificant.rb, line 10
def do_list_brief
  multicolumn(:id, :method, :description)
end
do_test() click to toggle source
# File lib/wavefront-cli/display/notificant.rb, line 19
def do_test
  puts "Testing notificant '#{options[:'<id>']}'."
end