Sha256: 54ba6e9f559aed56d57a64754259a2a81233e4d9c45df97461f66af8070d05d0

Contents?: true

Size: 461 Bytes

Versions: 13

Compression:

Stored size: 461 Bytes

Contents

# frozen_string_literal: true

require_relative 'actions'
module KPM
  module NexusFacade
    class << self
      def logger
        logger       = ::Logger.new(STDOUT)
        logger.level = Logger::INFO
        logger
      end
    end

    class RemoteFactory
      class << self
        def create(overrides, ssl_verify = true, logger = nil)
          Actions.new(overrides, ssl_verify, logger || NexusFacade.logger)
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kpm-0.10.6 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.11.1 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.5 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.11.0 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.4 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.3 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.2 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.1 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.10.0 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.9.0 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.8.2 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.8.1 lib/kpm/nexus_helper/nexus_facade.rb
kpm-0.8.0 lib/kpm/nexus_helper/nexus_facade.rb