Class: SpreeCmCommissioner::WaitingRoomSessionFirebaseLoggerJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ApplicationJob
- SpreeCmCommissioner::WaitingRoomSessionFirebaseLoggerJob
- Defined in:
- app/jobs/spree_cm_commissioner/waiting_room_session_firebase_logger_job.rb
Instance Method Summary collapse
Methods included from ApplicationJobDecorator
handle_deserialization_error, prepended
Instance Method Details
#perform(options) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'app/jobs/spree_cm_commissioner/waiting_room_session_firebase_logger_job.rb', line 3 def perform() room_session = SpreeCmCommissioner::WaitingRoomSession.find([:room_session_id]) waiting_guest_firebase_doc_id = [:waiting_guest_firebase_doc_id] SpreeCmCommissioner::WaitingRoomSessionFirebaseLogger.call( room_session: room_session, waiting_guest_firebase_doc_id: waiting_guest_firebase_doc_id ) end |