Class: Pulsedive::CLI::Feed
Instance Method Summary collapse
Instance Method Details
#get_by_id(id) ⇒ Object
95 96 97 98 99 100 |
# File 'lib/pulsedive/cli.rb', line 95 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) ⇒ Object
103 104 105 106 107 108 |
# File 'lib/pulsedive/cli.rb', line 103 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 |