Class: Poms::ScheduleEvent

Inherits:
Builder::NestedOpenStruct show all
Defined in:
lib/poms/schedule_event.rb

Instance Method Summary collapse

Methods included from Base

#rev

Constructor Details

#initialize(hash) ⇒ ScheduleEvent

Returns a new instance of ScheduleEvent.



4
5
6
7
8
# File 'lib/poms/schedule_event.rb', line 4

def initialize hash
  @hash = hash
  set_start_and_end_times
  super @hash
end