class Pulsedive::CLI::Indicator

Public Instance Methods

get_by_id(id) click to toggle source
# File lib/pulsedive/cli.rb, line 28
def get_by_id(id)
  with_error_handling do
    json = api.indicator.get_by_id(id)
    puts JSON.pretty_generate(json)
  end
end
get_by_value(value) click to toggle source
# File lib/pulsedive/cli.rb, line 36
def get_by_value(value)
  with_error_handling do
    json = api.indicator.get_by_value(value)
    puts JSON.pretty_generate(json)
  end
end
get_properties_by_id(id) click to toggle source
# File lib/pulsedive/cli.rb, line 52
def get_properties_by_id(id)
  with_error_handling do
    json = api.indicator.get_properties_by_id(id)
    puts JSON.pretty_generate(json)
  end
end