Class: GenerateRoomPlansWorker

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

Overview

Sidekiq worker: generate room plans.

Instance Method Summary collapse

Instance Method Details

#perform(room_configuration_id) ⇒ Object



9
10
11
# File 'app/workers/generate_room_plans_worker.rb', line 9

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