lib/key_vortex.rb in key-vortex-0.2.4 vs lib/key_vortex.rb in key-vortex-0.2.5

- old
+ new

@@ -9,11 +9,10 @@ @adapter_registry ||= {} @adapter_registry[adapter_class.symbol] = adapter_class end def self.vortex(adapter_symbol, record_class, **options) - puts @adapter_registry new( @adapter_registry[adapter_symbol].build(**options), record_class ) end @@ -38,7 +37,11 @@ @adapter.save(record) end def find(id) @adapter.find(id) + end + + def remove(id) + @adapter.remove(id) end end