Sha256: 5be19f087983d810e69e715b97e1236dadb7d9d7422e14c8439d50ee5ec716b5

Contents?: true

Size: 232 Bytes

Versions: 12

Compression:

Stored size: 232 Bytes

Contents

module Verdict
  module Storage
    class MockStorage < BaseStorage
      def set(scope, key, value)
        false
      end

      def get(scope, key)
        nil
      end

      def remove(scope, key)
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
verdict-0.11.0 lib/verdict/storage/mock_storage.rb
verdict-0.10.0 lib/verdict/storage/mock_storage.rb
verdict-0.9.0 lib/verdict/storage/mock_storage.rb
verdict-0.8.0 lib/verdict/storage/mock_storage.rb
verdict-0.7.0 lib/verdict/storage/mock_storage.rb
verdict-0.6.3 lib/verdict/storage/mock_storage.rb
verdict-0.6.2 lib/verdict/storage/mock_storage.rb
verdict-0.6.1 lib/verdict/storage/mock_storage.rb
verdict-0.6.0 lib/verdict/storage/mock_storage.rb
verdict-0.5.0 lib/verdict/storage/mock_storage.rb
verdict-0.4.1 lib/verdict/storage/mock_storage.rb
verdict-0.4.0 lib/verdict/storage/mock_storage.rb