GDI...typo.

This commit is contained in:
Michael Ball 2020-07-29 22:42:45 -07:00
parent deb249d2fd
commit 32ef4a294b
2 changed files with 11 additions and 1 deletions

View file

@ -27,6 +27,15 @@ class EventSchedule < ApplicationRecord
delegate :guid, to: :room, prefix: true
delegate :timezone, to: event
##
# True within 1 hour before and after the event.
#
def happening_now?(threshold=1.hour)
false
end
def self.withdrawn_or_canceled_event_schedules(schedule_ids)
EventSchedule
.unscoped