lib/jets/job/dsl.rb in jets-0.8.13 vs lib/jets/job/dsl.rb in jets-0.8.14

- old
+ new

@@ -7,9 +7,18 @@ module Jets::Job::Dsl extend ActiveSupport::Concern included do class << self + # Public: Creates CloudWatch Event Rule + # + # expression - The rate expression. + # + # Examples + # + # rate("10 minutes") + # rate("10 minutes", description: "Hard job") + # def rate(expression) update_properties(schedule_expression: "rate(#{expression})") end def cron(expression)