class Place::AutoRelease
- Place::AutoRelease
- PlaceOS::Driver
- Reference
- Object
Defined in:
place/auto_release.crClass Method Summary
Instance Method Summary
- #building_zone : Zone
- #enabled? : Bool
-
#get_building_zone? : Zone | Nil
Finds the building zone for the current location services object
- #get_pending_bookings : Array(Booking)
- #get_user_preferences?(user_id : String)
- #in_preference?(preference : WorktimePreference, event_time : Float64, locations : Array(String), match_locations : Bool = true) : Bool
- #in_preference_hours?(start_time : Float64, end_time : Float64, event_time : Float64) : Bool
- #mailer
- #on_load
- #on_update
- #pending_release
- #release_bookings
- #send_release_emails
- #skip_release?(cached_booking : Booking) : Bool
Class Method Detail
Instance Method Detail
Finds the building zone for the current location services object
def in_preference?(preference : WorktimePreference, event_time : Float64, locations : Array(String), match_locations : Bool = true) : Bool
#
def in_preference_hours?(start_time : Float64, end_time : Float64, event_time : Float64) : Bool
#