Module: Sidetiq::Schedulable::ClassMethods
- Defined in:
- lib/sidetiq/schedulable.rb
Instance Method Summary collapse
-
#last_scheduled_occurrence ⇒ Object
Public: Returns a Float timestamp of the last scheduled run.
-
#next_scheduled_occurrence ⇒ Object
Public: Returns a Float timestamp of the next scheduled run.
-
#tiq(options = {}, &block) ⇒ Object
:nodoc:.
Instance Method Details
#last_scheduled_occurrence ⇒ Object
Public: Returns a Float timestamp of the last scheduled run.
16 17 18 |
# File 'lib/sidetiq/schedulable.rb', line 16 def last_scheduled_occurrence "last" end |
#next_scheduled_occurrence ⇒ Object
Public: Returns a Float timestamp of the next scheduled run.
21 22 23 |
# File 'lib/sidetiq/schedulable.rb', line 21 def next_scheduled_occurrence "next" end |