Class: WalleeRubySdk::Gender
- Inherits:
-
Object
- Object
- WalleeRubySdk::Gender
- Defined in:
- lib/wallee-ruby-sdk/models/gender.rb
Constant Summary collapse
- MALE =
"MALE".freeze
- FEMALE =
"FEMALE".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
29 30 31 |
# File 'lib/wallee-ruby-sdk/models/gender.rb', line 29 def self.all_vars @all_vars ||= [MALE, FEMALE].freeze end |
.build_from_hash(value) ⇒ String
Builds the enum from string
36 37 38 |
# File 'lib/wallee-ruby-sdk/models/gender.rb', line 36 def self.build_from_hash(value) new.build_from_hash(value) end |