Class: MergeHRISClient::PayFrequencyEnum
- Inherits:
-
Object
- Object
- MergeHRISClient::PayFrequencyEnum
- Defined in:
- lib/merge_hris_client/models/pay_frequency_enum.rb
Constant Summary collapse
- WEEKLY =
"WEEKLY".freeze
- BIWEEKLY =
"BIWEEKLY".freeze
- MONTHLY =
"MONTHLY".freeze
- QUARTERLY =
"QUARTERLY".freeze
- SEMIANNUALLY =
"SEMIANNUALLY".freeze
- ANNUALLY =
"ANNUALLY".freeze
- THIRTEEN_MONTHLY =
"THIRTEEN-MONTHLY".freeze
- PRO_RATA =
"PRO_RATA".freeze
- NULL =
"NULL".freeze
Class Method Summary collapse
-
.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
.build_from_hash(value) ⇒ String
Builds the enum from string
31 32 33 |
# File 'lib/merge_hris_client/models/pay_frequency_enum.rb', line 31 def self.build_from_hash(value) new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
38 39 40 41 |
# File 'lib/merge_hris_client/models/pay_frequency_enum.rb', line 38 def build_from_hash(value) constantValues = PayFrequencyEnum.constants.select { |c| PayFrequencyEnum::const_get(c) == value } value end |