Sha256: 26b18905f4563ff23a03161eb09e1aa4f3ae2d13e3cfbf5e9917ae9554c4f079

Contents?: true

Size: 434 Bytes

Versions: 6

Compression:

Stored size: 434 Bytes

Contents

module Artifactory
  module GemImport
    module Bookkeeper
      class Base
        def initialize
          init_store
        end

        def tell(message)
          on_message message
        end

        alias_method :ask!, :tell

        private

        def init_store
          raise NotImplementedError
        end

        def on_message(message)
          raise NotImplementedError
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
artifactory-gem_import-1.1.0 lib/artifactory/gem_import/bookkeeper/base.rb
artifactory-gem_import-1.0.0 lib/artifactory/gem_import/bookkeeper/base.rb
artifactory-gem_import-0.2.2 lib/artifactory/gem_import/bookkeeper/base.rb
artifactory-gem_import-0.2.0 lib/artifactory/gem_import/bookkeeper/base.rb
artifactory-gem_import-0.1.4 lib/artifactory/gem_import/bookkeeper/base.rb
artifactory-gem_import-0.1.3 lib/artifactory/gem_import/bookkeeper/base.rb