Module: Consumer::Controls::Subscription
- Defined in:
- lib/consumer/controls/subscription.rb
Class Method Summary collapse
Class Method Details
.example(get: nil, batch_size: nil) ⇒ Object
4 5 6 7 8 |
# File 'lib/consumer/controls/subscription.rb', line 4 def self.example(get: nil, batch_size: nil) get ||= Get.example(batch_size: batch_size) ::Consumer::Subscription.new(get, position) end |