Class: RoomChangeScheduleException

Inherits:
ScheduleException show all
Defined in:
app/models/room_change_schedule_exception.rb

Instance Method Summary collapse

Methods inherited from ScheduleException

#affects?, #apply_people_assign, #period, #period=

Instance Method Details

#apply(event) ⇒ Object


3
4
5
6
7
# File 'app/models/room_change_schedule_exception.rb', line 3

def apply(event)
  super
  event.original_room_id ||= event.room_id
  event.room_id = options[:room_id]
end