lib/action_handle/adapters/base.rb in action-handle-0.0.4 vs lib/action_handle/adapters/base.rb in action-handle-0.1.0

- old
+ new

@@ -7,18 +7,26 @@ class Base extend Forwardable def_delegators Configuration, :logger, :silence_errors + def create(_key, _value, _ttl) + raise NotImplementedError + end + + def renew(_key, _value, _ttl) + raise NotImplementedError + end + def taken?(_key) raise NotImplementedError end def current?(_key, _value) raise NotImplementedError end - def info(_key) + def value(_key) raise NotImplementedError end def claim(_key, _value, _ttl) raise NotImplementedError