lib/basketball/app/document_repository.rb in basketball-0.0.13 vs lib/basketball/app/document_repository.rb in basketball-0.0.14
- old
+ new
@@ -39,9 +39,13 @@
object.send('id=', nil)
true
end
+ def exist?(id)
+ store.exist?(id)
+ end
+
protected
def from_h(hash)
Entity.new(hash[:id])
end