lib/arrest/transport/request_context.rb in arrest-0.0.76 vs lib/arrest/transport/request_context.rb in arrest-0.0.77

- old
+ new

@@ -25,14 +25,31 @@ end def update(id, object) @map[id] = object end + + def remove(id) + @map.delete(id) + end + + def flush() + @map.clear + end end class DummyCache def lookup(id, &blk) yield + end + + def update(id, object) + end + + def remove(id) + end + + def flush() end end end