struct Authority::Verification
- Authority::Verification
- Clear::Enum
- Struct
- Value
- Object
Defined in:
entities/device_code_entity.crConstant Summary
-
Allowed =
Verification.new("allowed")
-
AUTHORIZED_VALUES =
{"allowed" => Allowed, "denied" => Denied, "pending" => Pending}
-
Denied =
Verification.new("denied")
-
Pending =
Verification.new("pending")
Class Method Summary
- .all
-
.authorized_values
Return the list of authorized values
-
.from_string(str : String)
Return the enum with the string passed as parameter.
- .valid?(x)
Class Method Detail
def self.from_string(str : String)
#
Return the enum with the string passed as parameter. Throw Clear::IllegalEnumValueError if the string is not found.