lib/flipper/adapters/operation_logger.rb in flipper-0.11.0.beta3 vs lib/flipper/adapters/operation_logger.rb in flipper-0.11.0.beta4

- old
+ new

@@ -15,10 +15,11 @@ :add, :remove, :clear, :get, :get_multi, + :get_all, :enable, :disable, ].freeze # Internal: An array of the operations that have happened. @@ -68,9 +69,15 @@ # Public def get_multi(features) @operations << Operation.new(:get_multi, [features]) @adapter.get_multi(features) + end + + # Public + def get_all + @operations << Operation.new(:get_all, []) + @adapter.get_all end # Public def enable(feature, gate, thing) @operations << Operation.new(:enable, [feature, gate, thing])