Sha256: a271bc1559f9d88badcf1f797c09c2f2b6a57a033e17bd2d840430dbaf70750c
Contents?: true
Size: 510 Bytes
Versions: 5
Compression:
Stored size: 510 Bytes
Contents
module DataCatalog module ImporterFramework class Puller REQUIRED = %w(cache_folder puller) def initialize(options) REQUIRED.each do |r| raise Error, "option :#{r} is required" unless options[r.intern] end @options = options end def run Utility.report_timing "pull" do handler = Handler.new(@options) puller = @options[:puller].new(handler) puller.run end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems