Sha256: c67ae4bb24bee259f1c70540660e014c9fc7c0d25499133cc2949e0938aaceaf

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'

module RakeSecrets
  module Storage
    class UnsupportedOperationError < StandardError
    end

    class Base
      def store(_path, _content)
        raise(UnsupportedOperationError, '#store not supported.')
      end

      def remove(_path)
        raise(UnsupportedOperationError, '#remove not supported.')
      end

      def get(_path)
        raise(UnsupportedOperationError, '#get not supported.')
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rake_secrets-0.1.0.pre.3 lib/rake_secrets/storage/base.rb
rake_secrets-0.1.0.pre.2 lib/rake_secrets/storage/base.rb