lib/jets/job/dsl.rb in jets-0.8.6 vs lib/jets/job/dsl.rb in jets-0.8.8
- old
+ new
@@ -12,10 +12,10 @@
def rate(expression)
update_properties(schedule_expression: "rate(#{expression})")
end
def cron(expression)
- update_properties(schedule_expression: "cron(#{expression}")
+ update_properties(schedule_expression: "cron(#{expression})")
end
def event_pattern(details={})
event_rule(event_pattern: details)
add_descriptions # useful: generic description in the Event Rule console