class Pulsedive::CLI::Feed

Public Instance Methods

get_by_id(id) click to toggle source
# File lib/pulsedive/cli.rb, line 96
def get_by_id(id)
  with_error_handling do
    json = api.feed.get_by_id(id)
    puts JSON.pretty_generate(json)
  end
end
get_linked_indicators_by_id(id) click to toggle source
# File lib/pulsedive/cli.rb, line 104
def get_linked_indicators_by_id(id)
  with_error_handling do
    json = api.feed.get_linked_indicators_by_id(id)
    puts JSON.pretty_generate(json)
  end
end