Sha256: 5b94eb546f93236633c6f6607b9927ad396edaf5657376e16b286139b06a1b62
Contents?: true
Size: 528 Bytes
Versions: 13
Compression:
Stored size: 528 Bytes
Contents
module Relaton module Cli module DataFetcher def fetch(source, options) processor = Relaton::Registry.instance.find_processor_by_dataset source unless processor warn "[relaton-cli] WARNING: no processor found for #{source}" return end opts = {} opts[:output] = options[:output] if options[:output] opts[:format] = options[:format] if options[:format] processor.fetch_data source, opts end extend DataFetcher end end end
Version data entries
13 entries across 13 versions & 1 rubygems