Class: WalleeRubySdk::UserType
- Inherits:
-
Object
- Object
- WalleeRubySdk::UserType
- Defined in:
- lib/wallee-ruby-sdk/models/user_type.rb
Constant Summary collapse
- HUMAN_USER =
"HUMAN_USER".freeze
- SINGLE_SIGNON_USER =
"SINGLE_SIGNON_USER".freeze
- APPLICATION_USER =
"APPLICATION_USER".freeze
- ANONYMOUS_USER =
"ANONYMOUS_USER".freeze
- SERVER_USER =
"SERVER_USER".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
32 33 34 |
# File 'lib/wallee-ruby-sdk/models/user_type.rb', line 32 def self.all_vars @all_vars ||= [HUMAN_USER, SINGLE_SIGNON_USER, APPLICATION_USER, ANONYMOUS_USER, SERVER_USER].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
39 40 41 |
# File 'lib/wallee-ruby-sdk/models/user_type.rb', line 39 def self.build_from_hash(value) new.build_from_hash(value) end |