Method: Bumbleworks::Schedule#initialize

Defined in:
lib/bumbleworks/schedule.rb

#initialize(schedule_hash) ⇒ Schedule

Returns a new instance of Schedule.



18
19
20
21
# File 'lib/bumbleworks/schedule.rb', line 18

def initialize(schedule_hash)
  @original_hash = schedule_hash
  @id = @original_hash['_id']
end