Class: Authentik::Api::ProxyMode
- Inherits:
-
Object
- Object
- Authentik::Api::ProxyMode
- Defined in:
- lib/authentik/api/models/proxy_mode.rb
Constant Summary collapse
- PROXY =
"proxy".freeze
- FORWARD_SINGLE =
"forward_single".freeze
- FORWARD_DOMAIN =
"forward_domain".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
16 17 18 |
# File 'lib/authentik/api/models/proxy_mode.rb', line 16 def self.all_vars @all_vars ||= [PROXY, FORWARD_SINGLE, FORWARD_DOMAIN].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
23 24 25 |
# File 'lib/authentik/api/models/proxy_mode.rb', line 23 def self.build_from_hash(value) new.build_from_hash(value) end |