Class: Authentik::Api::AlgEnum
- Inherits:
-
Object
- Object
- Authentik::Api::AlgEnum
- Defined in:
- lib/authentik/api/models/alg_enum.rb
Constant Summary collapse
- RSA =
"rsa".freeze
- ECDSA =
"ecdsa".freeze
- ED25519 =
"ed25519".freeze
- ED448 =
"ed448".freeze
Class Method Summary collapse
- .all_vars ⇒ Object
-
.build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Class Method Details
.all_vars ⇒ Object
17 18 19 |
# File 'lib/authentik/api/models/alg_enum.rb', line 17 def self.all_vars @all_vars ||= [RSA, ECDSA, ED25519, ED448].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
24 25 26 |
# File 'lib/authentik/api/models/alg_enum.rb', line 24 def self.build_from_hash(value) new.build_from_hash(value) end |