class Pipely::Build::HourlyScheduler
Compute schedule attributes for a pipeline that runs once-a-day at a set time.
Public Instance Methods
period()
click to toggle source
# File lib/pipely/build/hourly_scheduler.rb, line 9 def period '1 hours' end
start_date_time()
click to toggle source
# File lib/pipely/build/hourly_scheduler.rb, line 13 def start_date_time (Time.now.utc + 3600).strftime("%Y-%m-%dT%H:00:00") end
to_hash()
click to toggle source
# File lib/pipely/build/hourly_scheduler.rb, line 19 def to_hash { :period => period, :start_date_time => start_date_time } end