lib/blobby/fake_success_store.rb in blobby-1.1.0 vs lib/blobby/fake_success_store.rb in blobby-1.1.1
- old
+ new
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
require "blobby/key_constraint"
module Blobby
# A BLOB store that is always successful.
@@ -13,9 +15,10 @@
def [](key)
KeyConstraint.must_allow!(key)
StoredObject.new
end
+ # Handle to an object in the store.
class StoredObject
def exists?
true
end