Sha256: 559183d46ad50ffcd24b451eefe78f4fac6b238b91ac6690b7d4601feb717709
Contents?: true
Size: 440 Bytes
Versions: 5
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true module Trifle module Docs module Operations class Collection attr_reader :url def initialize(**keywords) @url = keywords.fetch(:url) @config = keywords[:config] end def config @config || Trifle::Docs.default end def perform config.harvester.collection_for(url: url) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems