Sha256: afe84b03ba024c81c4968745876d910dcadfc6345784b760b395b96c4f01921f

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

module Repomen
  module Repo
    module Handler
      class Base
        include WithDefaultConfig

        attr_reader :config
        attr_reader :path
        attr_reader :url

        def initialize(url, path, _config = default_config)
          @url = url
          @config = Repomen::Config(_config)
          @path = File.join(config.work_dir, path)
        end

        def retrieve
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
repomen-0.1.0 lib/repomen/repo/handler/base.rb