Class: GenerateRoomPlansWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/workers/generate_room_plans_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(room_configuration_id) ⇒ Object



7
8
9
# File 'app/workers/generate_room_plans_worker.rb', line 7

def perform(room_configuration_id)
  RoomConfiguration.find(room_configuration_id).generate_all_plans
end