class Place::Bookings::LockerBookingSync

Overview

makes the assumption that there are no future bookings, you can only book a locker now if it's currently free.

Included Modules

Defined in:

place/bookings/locker_booking_sync.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from module Place::LockerMetadataParser

locker_banks : Hash(String, LockerBank) locker_banks, locker_details : Hash(String, Locker) locker_details

Class Method Detail

def self.driver_interface : String #

makes the assumption that there are no future bookings, you can only book a locker now if it's currently free.


Instance Method Detail

def building_id : String #

[View source]
def ensure_locker_access #

[View source]
def levels : Array(String) #

[View source]
def locker_locations #

[View source]
def on_load #

[View source]
def on_update #

[View source]
def sync_level(zone : String) : Nil #

[View source]
def systems : Hash(String, Array(String)) #

Grabs the list of systems in the building


[View source]