lib/sequins.rb in sequins-0.1.5 vs lib/sequins.rb in sequins-0.1.6
- old
+ new
@@ -21,8 +21,12 @@
end
def self.configure
yield configuration
end
+
+ def self.schedule_delay(delay_until, sequence_class, target, next_step)
+ configuration.delay_scheduler.call(delay_until, sequence_class, target, next_step)
+ end
end
require 'sequins/errors'