module Relaton::Cli::DataFetcher
Public Instance Methods
fetch(source, options)
click to toggle source
# File lib/relaton/cli/data_fetcher.rb, line 4 def fetch(source, options) processor = Relaton::Registry.instance.find_processor_by_dataset source opts = {} opts[:output] = options[:output] if options[:output] opts[:format] = options[:format] if options[:format] processor.fetch_data source, opts end