class Threatinator::CLI::ListActionBuilder

Public Instance Methods

build() click to toggle source
# File lib/threatinator/cli/list_action_builder.rb, line 7
def build
  Threatinator::Actions::List::Action.new(feed_registry, config)
end
config() click to toggle source
# File lib/threatinator/cli/list_action_builder.rb, line 11
def config
  list_hash = config_hash["list"] || {}
  Threatinator::Actions::List::Config.new(list_hash)
end