class Place::BookingNotifier

Included Modules

Defined in:

place/booking_notifier.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def calendar #

[View source]
def check_bookings(months_from_now : Int32 = 2) #

[View source]
def create_network_user(user_email : String, password : String, group_ids : Array(String) = [] of String) #

[View source]
def get_building_name(zones : Array(String)) #

[View source]
def get_manager(staff_email : String) #

[View source]
def mailer #

[View source]
def on_load #

[View source]
def on_update #

[View source]
def template_fields : Array(TemplateFields) #
Description copied from module PlaceOS::Driver::Interface::MailerTemplates

[ TemplateFields.new( trigger: {"bookings", "booked_by_notify"}, name: "Booking booked by notification", description: nil, fields: common_fields ), TemplateFields.new( trigger: {"bookings", "booking_notify"}, name: "Booking notification", description: "This template is used for booking notifications", fields: common_fields + [ {name: "start_time", description: "The start time of the booking"}, ] ), ] end


[View source]
def update_network_user_password(user_email : String, password : String, network_group_ids : Array(String) = [] of String) #

[View source]