lib/ragoon/services/schedule.rb in ragoon-0.1.2 vs lib/ragoon/services/schedule.rb in ragoon-0.2.0
- old
+ new
@@ -45,14 +45,10 @@
end
def default_options(action_name)
case action_name
when 'ScheduleGetEvents'
- today = Date.today
- {
- start: Time.local(today.year, today.month, today.day, 0).utc,
- end: Time.local(today.year, today.month, today.day + 1, 0).utc,
- }
+ Ragoon::Services.start_and_end
else
{}
end
end
end