Module: Sidekiqable::AsyncableMethods
- Defined in:
- lib/sidekiqable/asyncable_methods.rb
Instance Method Summary collapse
- #perform_async ⇒ Object
- #perform_at(timestamp) ⇒ Object
- #perform_in(interval) ⇒ Object
- #sidekiqable_options(options = nil) ⇒ Object
Instance Method Details
#perform_async ⇒ Object
13 14 15 |
# File 'lib/sidekiqable/asyncable_methods.rb', line 13 def perform_async Sidekiqable::AsyncProxy.new(self, :perform_async) end |
#perform_at(timestamp) ⇒ Object
21 22 23 |
# File 'lib/sidekiqable/asyncable_methods.rb', line 21 def perform_at() Sidekiqable::AsyncProxy.new(self, :perform_at, ) end |
#perform_in(interval) ⇒ Object
17 18 19 |
# File 'lib/sidekiqable/asyncable_methods.rb', line 17 def perform_in(interval) Sidekiqable::AsyncProxy.new(self, :perform_in, interval) end |
#sidekiqable_options(options = nil) ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/sidekiqable/asyncable_methods.rb', line 5 def ( = nil) if = else ||= {} end end |