Module: NotificationWorkers::ReservationModules::AdminCreateBooking

Included in:
NotificationWorkers::Reservation
Defined in:
app/workers/notification_workers/reservation_modules/admin_create_booking.rb

Overview

typed: false frozen_string_literal: true

Instance Method Summary collapse

Instance Method Details

#notif_booking_created_by_manual_through_sms(rules) ⇒ Object



5
6
7
8
9
10
11
12
# File 'app/workers/notification_workers/reservation_modules/admin_create_booking.rb', line 5

def notif_booking_created_by_manual_through_sms(rules)
  # Send to user
  if allow_send_notif_to_user?(receivers: rules[:receiver])
    report["#{__callee__}_to_user"] = safe_call do
      sms_user_notifier.send_confirmation_msg_to_user
    end
  end
end