enum

PlaceOS::Model::Booking::State

Inherits Enum < Comparable < Value < Object

Constants

Reserved = 0
CheckedIn = 1
CheckedOut = 2
NoShow = 3
Rejected = 4
Cancelled = 5
Ended = 6
Unknown = 7

Instance methods

cancelled?

Returns true if this enum value equals Cancelled

Source
checked_in?

Returns true if this enum value equals CheckedIn

Source
checked_out?

Returns true if this enum value equals CheckedOut

Source
ended?

Returns true if this enum value equals Ended

Source
no_show?

Returns true if this enum value equals NoShow

Source
rejected?

Returns true if this enum value equals Rejected

Source
reserved?

Returns true if this enum value equals Reserved

Source
unknown?

Returns true if this enum value equals Unknown

Source