Class: Consumer::Controls::Consumer::Incrementing
- Inherits:
-
Object
- Object
- Consumer::Controls::Consumer::Incrementing
- Includes:
- Consumer, Log::Dependency
- Defined in:
- lib/consumer/controls/consumer/incrementing.rb
Defined Under Namespace
Modules: Handlers
Constant Summary
Constants included from Consumer
Instance Method Summary collapse
Methods included from Consumer
#dispatch, included, #log_info, #print_info, #start, #update_position
Instance Method Details
#configure ⇒ Object
31 32 33 34 35 36 37 38 |
# File 'lib/consumer/controls/consumer/incrementing.rb', line 31 def configure sleep_duration = ENV['SLEEP_DURATION'] || 100 sleep_duration = sleep_duration.to_i Get::Incrementing.configure(self, sleep_duration) PositionStore::File.configure(self, identifier: identifier) end |