Sha256: 5ba691f80b3d881f4d34a0927fa676f7389514da8c375cc437f5bb3c60211cb4
Contents?: true
Size: 957 Bytes
Versions: 6
Compression:
Stored size: 957 Bytes
Contents
# frozen_string_literal: true module DevSuite module Utils module Store module Driver class Base < Construct::Component::Base def set(key, value) raise NotImplementedError, "Subclasses must implement the `set` method" end def fetch(key) raise NotImplementedError, "Subclasses must implement the `fetch` method" end def delete(key) raise NotImplementedError, "Subclasses must implement the `delete` method" end def import(source) raise NotImplementedError, "Subclasses must implement the `import` method" end def export(destination) raise NotImplementedError, "Subclasses must implement the `export` method" end def clear raise NotImplementedError, "Subclasses must implement the `clear` method" end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems