Sha256: e1eabbf5ca81b4453f1b5351ad0ea956cd415b22daa5754d6c186d34fe4e657c
Contents?: true
Size: 351 Bytes
Versions: 6
Compression:
Stored size: 351 Bytes
Contents
module VideoGrabber class Application def initialize(options) set_options(options) end def call scraper = Scraper.new(config).start end private def config @config ||= ::VideoGrabber.config.dup end def set_options(options) options.each { |k, v| config.send("#{k}=", v) } end end end
Version data entries
6 entries across 6 versions & 1 rubygems