class Place::Bookings::GrantAreaAccess

Defined in:

place/bookings/grant_area_access.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.driver_interface : String #

Instance Method Detail

def allocations : Hash(String, Array(String)) #

user_id => Array(special access)


[View source]
def building_id : String #

[View source]
def cached_user_lookups : Hash(String, String | Int64) #

[View source]
def cached_zone_lookups : Hash(String, String | Int64) #

[View source]
def desks(level_id : String) : Hash(String, String) #

returns desk_id => security zone name / id


[View source]
def ensure_booking_access #

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

[View source]
def on_load #

[View source]
def on_update #

[View source]
def security_system #

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

Grabs the list of systems in the building


[View source]
def user_id?(email : String) : String | Int64 | Nil #

[View source]
def zone_id?(name_or_id : String) : String | Int64 | Nil #

[View source]