lib/upperkut/strategies/base.rb in upperkut-0.7.0 vs lib/upperkut/strategies/base.rb in upperkut-0.7.1
- old
+ new
@@ -4,19 +4,19 @@
# Public: Ingests the event into strategy.
#
# items - The Array of items do be inserted.
#
# Returns true when success, raise when error.
- def push_items(items = [])
+ def push_items(_items = [])
raise NotImplementedError
end
# Public: Retrieve events from Strategy.
#
# batch_size: # of items to be retrieved.
#
# Returns an Array containing events as hash.
- def fetch_items(batch_size)
+ def fetch_items(_batch_size)
raise NotImplementedError
end
# Public: Clear all data related to the strategy.
def clear