merge_hris_client 2.0.0 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -5
- data/docs/AccountDetails.md +5 -1
- data/docs/AccountDetailsAndActions.md +2 -0
- data/docs/AccountDetailsApi.md +8 -5
- data/docs/BankInfo.md +3 -1
- data/docs/Benefit.md +3 -1
- data/docs/Company.md +5 -3
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/Deduction.md +3 -1
- data/docs/Earning.md +4 -2
- data/docs/Employee.md +11 -9
- data/docs/EmployeePayrollRun.md +3 -1
- data/docs/EmployeeRequest.md +8 -8
- data/docs/EmployeesApi.md +86 -4
- data/docs/Employment.md +8 -4
- data/docs/EndUserDetailsRequest.md +3 -3
- data/docs/ForceResyncApi.md +4 -4
- data/docs/Group.md +3 -1
- data/docs/IssuesApi.md +8 -0
- data/docs/LinkTokenApi.md +1 -1
- data/docs/LinkedAccountStatus.md +20 -0
- data/docs/LinkedAccountsApi.md +14 -14
- data/docs/Location.md +5 -3
- data/docs/MetaResponse.md +24 -0
- data/docs/PayGroup.md +3 -1
- data/docs/PayrollRun.md +3 -1
- data/docs/Tax.md +4 -2
- data/docs/Team.md +3 -1
- data/docs/TimeOff.md +5 -3
- data/docs/TimeOffApi.md +72 -0
- data/docs/TimeOffBalance.md +4 -2
- data/docs/TimeOffRequest.md +2 -2
- data/docs/WebhookReceiver.md +22 -0
- data/docs/WebhookReceiverRequest.md +22 -0
- data/docs/WebhookReceiversApi.md +153 -0
- data/lib/merge_hris_client/api/account_details_api.rb +10 -3
- data/lib/merge_hris_client/api/bank_info_api.rb +0 -1
- data/lib/merge_hris_client/api/employees_api.rb +88 -3
- data/lib/merge_hris_client/api/employments_api.rb +2 -2
- data/lib/merge_hris_client/api/force_resync_api.rb +3 -3
- data/lib/merge_hris_client/api/issues_api.rb +12 -0
- data/lib/merge_hris_client/api/linked_accounts_api.rb +15 -15
- data/lib/merge_hris_client/api/time_off_api.rb +62 -0
- data/lib/merge_hris_client/api/webhook_receivers_api.rb +154 -0
- data/lib/merge_hris_client/models/account_details.rb +22 -4
- data/lib/merge_hris_client/models/account_details_and_actions.rb +15 -1
- data/lib/merge_hris_client/models/account_details_and_actions_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/account_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/bank_info.rb +15 -5
- data/lib/merge_hris_client/models/benefit.rb +15 -5
- data/lib/merge_hris_client/models/categories_enum.rb +2 -1
- data/lib/merge_hris_client/models/category_enum.rb +2 -1
- data/lib/merge_hris_client/models/company.rb +16 -6
- data/lib/merge_hris_client/models/country_enum.rb +0 -1
- data/lib/merge_hris_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_hris_client/models/deduction.rb +15 -5
- data/lib/merge_hris_client/models/earning.rb +18 -5
- data/lib/merge_hris_client/models/earning_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/employee.rb +15 -6
- data/lib/merge_hris_client/models/employee_payroll_run.rb +15 -5
- data/lib/merge_hris_client/models/employee_request.rb +1 -1
- data/lib/merge_hris_client/models/employment.rb +26 -6
- data/lib/merge_hris_client/models/employment_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/employment_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/encoding_enum.rb +0 -1
- data/lib/merge_hris_client/models/end_user_details_request.rb +34 -0
- data/lib/merge_hris_client/models/ethnicity_enum.rb +0 -1
- data/lib/merge_hris_client/models/flsa_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/gender_enum.rb +0 -1
- data/lib/merge_hris_client/models/group.rb +16 -6
- data/lib/merge_hris_client/models/group_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/issue_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/{data_passthrough.rb → linked_account_status.rb} +24 -49
- data/lib/merge_hris_client/models/location.rb +16 -6
- data/lib/merge_hris_client/models/location_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/marital_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/meta_response.rb +262 -0
- data/lib/merge_hris_client/models/method_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_currency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_frequency_enum.rb +0 -1
- data/lib/merge_hris_client/models/pay_group.rb +15 -5
- data/lib/merge_hris_client/models/pay_period_enum.rb +0 -1
- data/lib/merge_hris_client/models/payroll_run.rb +16 -6
- data/lib/merge_hris_client/models/policy_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/reason_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_format_enum.rb +0 -1
- data/lib/merge_hris_client/models/request_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_state_enum.rb +0 -1
- data/lib/merge_hris_client/models/run_type_enum.rb +0 -1
- data/lib/merge_hris_client/models/sync_status_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/tax.rb +18 -5
- data/lib/merge_hris_client/models/team.rb +15 -5
- data/lib/merge_hris_client/models/time_off.rb +14 -5
- data/lib/merge_hris_client/models/time_off_balance.rb +16 -6
- data/lib/merge_hris_client/models/time_off_status_enum.rb +0 -1
- data/lib/merge_hris_client/models/units_enum.rb +0 -1
- data/lib/merge_hris_client/models/{remote_key_for_regeneration.rb → webhook_receiver.rb} +38 -16
- data/lib/merge_hris_client/models/{end_user_details.rb → webhook_receiver_request.rb} +60 -69
- data/lib/merge_hris_client/version.rb +1 -1
- data/lib/merge_hris_client.rb +5 -0
- data/spec/api/account_details_api_spec.rb +1 -0
- data/spec/api/employees_api_spec.rb +16 -0
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/issues_api_spec.rb +4 -0
- data/spec/api/linked_accounts_api_spec.rb +7 -7
- data/spec/api/time_off_api_spec.rb +11 -0
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/models/account_details_and_actions_spec.rb +6 -0
- data/spec/models/account_details_spec.rb +12 -0
- data/spec/models/bank_info_spec.rb +6 -0
- data/spec/models/benefit_spec.rb +6 -0
- data/spec/models/company_spec.rb +6 -0
- data/spec/models/deduction_spec.rb +6 -0
- data/spec/models/earning_spec.rb +6 -0
- data/spec/models/employee_payroll_run_spec.rb +6 -0
- data/spec/models/employee_spec.rb +6 -0
- data/spec/models/employment_spec.rb +12 -0
- data/spec/models/group_spec.rb +6 -0
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/location_spec.rb +6 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/pay_group_spec.rb +6 -0
- data/spec/models/payroll_run_spec.rb +6 -0
- data/spec/models/tax_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/time_off_balance_spec.rb +6 -0
- data/spec/models/time_off_spec.rb +6 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- metadata +118 -112
- data/docs/BenefitPlanTypeEnum.md +0 -15
- data/docs/TypeEnum.md +0 -15
- data/lib/merge_hris_client/api/time_off_balance_api.rb +0 -196
- data/lib/merge_hris_client/models/benefit_plan_type_enum.rb +0 -56
- data/lib/merge_hris_client/models/state_enum.rb +0 -93
- data/lib/merge_hris_client/models/type_enum.rb +0 -38
- data/spec/models/benefit_plan_type_enum_spec.rb +0 -28
- data/spec/models/type_enum_spec.rb +0 -28
- data/test_ruby.rb +0 -30
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merge_hris_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -76,7 +76,6 @@ files:
|
|
76
76
|
- docs/BankInfo.md
|
77
77
|
- docs/BankInfoApi.md
|
78
78
|
- docs/Benefit.md
|
79
|
-
- docs/BenefitPlanTypeEnum.md
|
80
79
|
- docs/BenefitsApi.md
|
81
80
|
- docs/CategoriesEnum.md
|
82
81
|
- docs/CategoryEnum.md
|
@@ -121,11 +120,13 @@ files:
|
|
121
120
|
- docs/IssuesApi.md
|
122
121
|
- docs/LinkToken.md
|
123
122
|
- docs/LinkTokenApi.md
|
123
|
+
- docs/LinkedAccountStatus.md
|
124
124
|
- docs/LinkedAccountsApi.md
|
125
125
|
- docs/Location.md
|
126
126
|
- docs/LocationTypeEnum.md
|
127
127
|
- docs/LocationsApi.md
|
128
128
|
- docs/MaritalStatusEnum.md
|
129
|
+
- docs/MetaResponse.md
|
129
130
|
- docs/MethodEnum.md
|
130
131
|
- docs/ModelOperation.md
|
131
132
|
- docs/MultipartFormFieldRequest.md
|
@@ -180,10 +181,12 @@ files:
|
|
180
181
|
- docs/TimeOffRequest.md
|
181
182
|
- docs/TimeOffResponse.md
|
182
183
|
- docs/TimeOffStatusEnum.md
|
183
|
-
- docs/TypeEnum.md
|
184
184
|
- docs/UnitsEnum.md
|
185
185
|
- docs/ValidationProblemSource.md
|
186
186
|
- docs/WarningValidationProblem.md
|
187
|
+
- docs/WebhookReceiver.md
|
188
|
+
- docs/WebhookReceiverRequest.md
|
189
|
+
- docs/WebhookReceiversApi.md
|
187
190
|
- git_push.sh
|
188
191
|
- lib/merge_hris_client.rb
|
189
192
|
- lib/merge_hris_client/api/account_details_api.rb
|
@@ -211,8 +214,8 @@ files:
|
|
211
214
|
- lib/merge_hris_client/api/sync_status_api.rb
|
212
215
|
- lib/merge_hris_client/api/teams_api.rb
|
213
216
|
- lib/merge_hris_client/api/time_off_api.rb
|
214
|
-
- lib/merge_hris_client/api/time_off_balance_api.rb
|
215
217
|
- lib/merge_hris_client/api/time_off_balances_api.rb
|
218
|
+
- lib/merge_hris_client/api/webhook_receivers_api.rb
|
216
219
|
- lib/merge_hris_client/api_client.rb
|
217
220
|
- lib/merge_hris_client/api_error.rb
|
218
221
|
- lib/merge_hris_client/configuration.rb
|
@@ -226,12 +229,10 @@ files:
|
|
226
229
|
- lib/merge_hris_client/models/available_actions.rb
|
227
230
|
- lib/merge_hris_client/models/bank_info.rb
|
228
231
|
- lib/merge_hris_client/models/benefit.rb
|
229
|
-
- lib/merge_hris_client/models/benefit_plan_type_enum.rb
|
230
232
|
- lib/merge_hris_client/models/categories_enum.rb
|
231
233
|
- lib/merge_hris_client/models/category_enum.rb
|
232
234
|
- lib/merge_hris_client/models/company.rb
|
233
235
|
- lib/merge_hris_client/models/country_enum.rb
|
234
|
-
- lib/merge_hris_client/models/data_passthrough.rb
|
235
236
|
- lib/merge_hris_client/models/data_passthrough_request.rb
|
236
237
|
- lib/merge_hris_client/models/debug_mode_log.rb
|
237
238
|
- lib/merge_hris_client/models/debug_model_log_summary.rb
|
@@ -247,7 +248,6 @@ files:
|
|
247
248
|
- lib/merge_hris_client/models/employment_status_enum.rb
|
248
249
|
- lib/merge_hris_client/models/employment_type_enum.rb
|
249
250
|
- lib/merge_hris_client/models/encoding_enum.rb
|
250
|
-
- lib/merge_hris_client/models/end_user_details.rb
|
251
251
|
- lib/merge_hris_client/models/end_user_details_request.rb
|
252
252
|
- lib/merge_hris_client/models/error_validation_problem.rb
|
253
253
|
- lib/merge_hris_client/models/ethnicity_enum.rb
|
@@ -261,9 +261,11 @@ files:
|
|
261
261
|
- lib/merge_hris_client/models/issue.rb
|
262
262
|
- lib/merge_hris_client/models/issue_status_enum.rb
|
263
263
|
- lib/merge_hris_client/models/link_token.rb
|
264
|
+
- lib/merge_hris_client/models/linked_account_status.rb
|
264
265
|
- lib/merge_hris_client/models/location.rb
|
265
266
|
- lib/merge_hris_client/models/location_type_enum.rb
|
266
267
|
- lib/merge_hris_client/models/marital_status_enum.rb
|
268
|
+
- lib/merge_hris_client/models/meta_response.rb
|
267
269
|
- lib/merge_hris_client/models/method_enum.rb
|
268
270
|
- lib/merge_hris_client/models/model_operation.rb
|
269
271
|
- lib/merge_hris_client/models/multipart_form_field_request.rb
|
@@ -294,14 +296,12 @@ files:
|
|
294
296
|
- lib/merge_hris_client/models/remote_data.rb
|
295
297
|
- lib/merge_hris_client/models/remote_data_request.rb
|
296
298
|
- lib/merge_hris_client/models/remote_key.rb
|
297
|
-
- lib/merge_hris_client/models/remote_key_for_regeneration.rb
|
298
299
|
- lib/merge_hris_client/models/remote_key_for_regeneration_request.rb
|
299
300
|
- lib/merge_hris_client/models/remote_response.rb
|
300
301
|
- lib/merge_hris_client/models/request_format_enum.rb
|
301
302
|
- lib/merge_hris_client/models/request_type_enum.rb
|
302
303
|
- lib/merge_hris_client/models/run_state_enum.rb
|
303
304
|
- lib/merge_hris_client/models/run_type_enum.rb
|
304
|
-
- lib/merge_hris_client/models/state_enum.rb
|
305
305
|
- lib/merge_hris_client/models/sync_status.rb
|
306
306
|
- lib/merge_hris_client/models/sync_status_status_enum.rb
|
307
307
|
- lib/merge_hris_client/models/tax.rb
|
@@ -312,10 +312,11 @@ files:
|
|
312
312
|
- lib/merge_hris_client/models/time_off_request.rb
|
313
313
|
- lib/merge_hris_client/models/time_off_response.rb
|
314
314
|
- lib/merge_hris_client/models/time_off_status_enum.rb
|
315
|
-
- lib/merge_hris_client/models/type_enum.rb
|
316
315
|
- lib/merge_hris_client/models/units_enum.rb
|
317
316
|
- lib/merge_hris_client/models/validation_problem_source.rb
|
318
317
|
- lib/merge_hris_client/models/warning_validation_problem.rb
|
318
|
+
- lib/merge_hris_client/models/webhook_receiver.rb
|
319
|
+
- lib/merge_hris_client/models/webhook_receiver_request.rb
|
319
320
|
- lib/merge_hris_client/version.rb
|
320
321
|
- merge_hris_client.gemspec
|
321
322
|
- pull_request_template.md
|
@@ -345,6 +346,7 @@ files:
|
|
345
346
|
- spec/api/teams_api_spec.rb
|
346
347
|
- spec/api/time_off_api_spec.rb
|
347
348
|
- spec/api/time_off_balances_api_spec.rb
|
349
|
+
- spec/api/webhook_receivers_api_spec.rb
|
348
350
|
- spec/api_client_spec.rb
|
349
351
|
- spec/configuration_spec.rb
|
350
352
|
- spec/models/account_details_and_actions_integration_spec.rb
|
@@ -356,7 +358,6 @@ files:
|
|
356
358
|
- spec/models/account_type_enum_spec.rb
|
357
359
|
- spec/models/available_actions_spec.rb
|
358
360
|
- spec/models/bank_info_spec.rb
|
359
|
-
- spec/models/benefit_plan_type_enum_spec.rb
|
360
361
|
- spec/models/benefit_spec.rb
|
361
362
|
- spec/models/categories_enum_spec.rb
|
362
363
|
- spec/models/category_enum_spec.rb
|
@@ -390,9 +391,11 @@ files:
|
|
390
391
|
- spec/models/issue_spec.rb
|
391
392
|
- spec/models/issue_status_enum_spec.rb
|
392
393
|
- spec/models/link_token_spec.rb
|
394
|
+
- spec/models/linked_account_status_spec.rb
|
393
395
|
- spec/models/location_spec.rb
|
394
396
|
- spec/models/location_type_enum_spec.rb
|
395
397
|
- spec/models/marital_status_enum_spec.rb
|
398
|
+
- spec/models/meta_response_spec.rb
|
396
399
|
- spec/models/method_enum_spec.rb
|
397
400
|
- spec/models/model_operation_spec.rb
|
398
401
|
- spec/models/multipart_form_field_request_spec.rb
|
@@ -439,12 +442,12 @@ files:
|
|
439
442
|
- spec/models/time_off_response_spec.rb
|
440
443
|
- spec/models/time_off_spec.rb
|
441
444
|
- spec/models/time_off_status_enum_spec.rb
|
442
|
-
- spec/models/type_enum_spec.rb
|
443
445
|
- spec/models/units_enum_spec.rb
|
444
446
|
- spec/models/validation_problem_source_spec.rb
|
445
447
|
- spec/models/warning_validation_problem_spec.rb
|
448
|
+
- spec/models/webhook_receiver_request_spec.rb
|
449
|
+
- spec/models/webhook_receiver_spec.rb
|
446
450
|
- spec/spec_helper.rb
|
447
|
-
- test_ruby.rb
|
448
451
|
homepage: https://openapi-generator.tech
|
449
452
|
licenses:
|
450
453
|
- Unlicense
|
@@ -469,128 +472,131 @@ signing_key:
|
|
469
472
|
specification_version: 4
|
470
473
|
summary: Merge HRIS API Ruby Gem
|
471
474
|
test_files:
|
472
|
-
- spec/api/
|
473
|
-
- spec/api/
|
474
|
-
- spec/api/
|
475
|
+
- spec/api/deductions_api_spec.rb
|
476
|
+
- spec/api/passthrough_api_spec.rb
|
477
|
+
- spec/api/sync_status_api_spec.rb
|
475
478
|
- spec/api/groups_api_spec.rb
|
476
|
-
- spec/api/
|
477
|
-
- spec/api/
|
478
|
-
- spec/api/
|
479
|
+
- spec/api/employments_api_spec.rb
|
480
|
+
- spec/api/locations_api_spec.rb
|
481
|
+
- spec/api/webhook_receivers_api_spec.rb
|
482
|
+
- spec/api/delete_account_api_spec.rb
|
479
483
|
- spec/api/time_off_balances_api_spec.rb
|
484
|
+
- spec/api/issues_api_spec.rb
|
485
|
+
- spec/api/time_off_api_spec.rb
|
486
|
+
- spec/api/available_actions_api_spec.rb
|
487
|
+
- spec/api/bank_info_api_spec.rb
|
480
488
|
- spec/api/teams_api_spec.rb
|
489
|
+
- spec/api/payroll_runs_api_spec.rb
|
490
|
+
- spec/api/link_token_api_spec.rb
|
481
491
|
- spec/api/pay_groups_api_spec.rb
|
482
|
-
- spec/api/
|
483
|
-
- spec/api/
|
484
|
-
- spec/api/
|
492
|
+
- spec/api/account_token_api_spec.rb
|
493
|
+
- spec/api/regenerate_key_api_spec.rb
|
494
|
+
- spec/api/account_details_api_spec.rb
|
485
495
|
- spec/api/force_resync_api_spec.rb
|
496
|
+
- spec/api/generate_key_api_spec.rb
|
486
497
|
- spec/api/linked_accounts_api_spec.rb
|
498
|
+
- spec/api/employees_api_spec.rb
|
487
499
|
- spec/api/benefits_api_spec.rb
|
488
|
-
- spec/api/
|
489
|
-
- spec/api/
|
490
|
-
- spec/api/delete_account_api_spec.rb
|
491
|
-
- spec/api/time_off_api_spec.rb
|
492
|
-
- spec/api/link_token_api_spec.rb
|
493
|
-
- spec/api/payroll_runs_api_spec.rb
|
494
|
-
- spec/api/sync_status_api_spec.rb
|
495
|
-
- spec/api/regenerate_key_api_spec.rb
|
496
|
-
- spec/api/employments_api_spec.rb
|
497
|
-
- spec/api/available_actions_api_spec.rb
|
500
|
+
- spec/api/companies_api_spec.rb
|
501
|
+
- spec/api/employee_payroll_runs_api_spec.rb
|
498
502
|
- spec/api_client_spec.rb
|
499
503
|
- spec/configuration_spec.rb
|
500
|
-
- spec/models/ignore_common_model_request_spec.rb
|
501
|
-
- spec/models/employment_type_enum_spec.rb
|
502
504
|
- spec/models/tax_spec.rb
|
503
|
-
- spec/models/
|
504
|
-
- spec/models/
|
505
|
-
- spec/models/
|
506
|
-
- spec/models/
|
507
|
-
- spec/models/employee_spec.rb
|
505
|
+
- spec/models/issue_status_enum_spec.rb
|
506
|
+
- spec/models/company_spec.rb
|
507
|
+
- spec/models/paginated_group_list_spec.rb
|
508
|
+
- spec/models/remote_key_spec.rb
|
508
509
|
- spec/models/team_spec.rb
|
510
|
+
- spec/models/request_format_enum_spec.rb
|
511
|
+
- spec/models/paginated_issue_list_spec.rb
|
512
|
+
- spec/models/paginated_company_list_spec.rb
|
513
|
+
- spec/models/link_token_spec.rb
|
514
|
+
- spec/models/ignore_common_model_spec.rb
|
515
|
+
- spec/models/request_type_enum_spec.rb
|
509
516
|
- spec/models/category_enum_spec.rb
|
510
|
-
- spec/models/
|
511
|
-
- spec/models/time_off_endpoint_request_spec.rb
|
512
|
-
- spec/models/employee_payroll_run_spec.rb
|
513
|
-
- spec/models/remote_key_spec.rb
|
517
|
+
- spec/models/time_off_response_spec.rb
|
514
518
|
- spec/models/time_off_status_enum_spec.rb
|
519
|
+
- spec/models/end_user_details_request_spec.rb
|
520
|
+
- spec/models/employee_endpoint_request_spec.rb
|
521
|
+
- spec/models/earning_spec.rb
|
522
|
+
- spec/models/paginated_team_list_spec.rb
|
523
|
+
- spec/models/pay_period_enum_spec.rb
|
524
|
+
- spec/models/categories_enum_spec.rb
|
525
|
+
- spec/models/employee_payroll_run_spec.rb
|
526
|
+
- spec/models/time_off_request_spec.rb
|
527
|
+
- spec/models/account_integration_spec.rb
|
528
|
+
- spec/models/time_off_endpoint_request_spec.rb
|
529
|
+
- spec/models/employment_status_enum_spec.rb
|
515
530
|
- spec/models/bank_info_spec.rb
|
516
|
-
- spec/models/request_type_enum_spec.rb
|
517
|
-
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
518
|
-
- spec/models/request_format_enum_spec.rb
|
519
|
-
- spec/models/employee_request_spec.rb
|
520
|
-
- spec/models/paginated_benefit_list_spec.rb
|
521
|
-
- spec/models/data_passthrough_request_spec.rb
|
522
|
-
- spec/models/benefit_plan_type_enum_spec.rb
|
523
|
-
- spec/models/units_enum_spec.rb
|
524
|
-
- spec/models/time_off_balance_spec.rb
|
525
|
-
- spec/models/location_type_enum_spec.rb
|
526
|
-
- spec/models/model_operation_spec.rb
|
527
|
-
- spec/models/debug_mode_log_spec.rb
|
528
531
|
- spec/models/paginated_employee_payroll_run_list_spec.rb
|
529
|
-
- spec/models/
|
530
|
-
- spec/models/
|
531
|
-
- spec/models/
|
532
|
-
- spec/models/
|
533
|
-
- spec/models/
|
534
|
-
- spec/models/
|
535
|
-
- spec/models/
|
536
|
-
- spec/models/ignore_common_model_spec.rb
|
537
|
-
- spec/models/paginated_sync_status_list_spec.rb
|
538
|
-
- spec/models/link_token_spec.rb
|
532
|
+
- spec/models/run_state_enum_spec.rb
|
533
|
+
- spec/models/webhook_receiver_request_spec.rb
|
534
|
+
- spec/models/paginated_employment_list_spec.rb
|
535
|
+
- spec/models/encoding_enum_spec.rb
|
536
|
+
- spec/models/data_passthrough_request_spec.rb
|
537
|
+
- spec/models/paginated_benefit_list_spec.rb
|
538
|
+
- spec/models/reason_enum_spec.rb
|
539
539
|
- spec/models/run_type_enum_spec.rb
|
540
|
+
- spec/models/debug_model_log_summary_spec.rb
|
540
541
|
- spec/models/pay_frequency_enum_spec.rb
|
541
|
-
- spec/models/
|
542
|
-
- spec/models/
|
543
|
-
- spec/models/
|
544
|
-
- spec/models/paginated_time_off_list_spec.rb
|
545
|
-
- spec/models/account_token_spec.rb
|
546
|
-
- spec/models/available_actions_spec.rb
|
547
|
-
- spec/models/paginated_employment_list_spec.rb
|
548
|
-
- spec/models/type_enum_spec.rb
|
542
|
+
- spec/models/pay_group_spec.rb
|
543
|
+
- spec/models/account_details_and_actions_integration_spec.rb
|
544
|
+
- spec/models/account_details_spec.rb
|
549
545
|
- spec/models/employee_response_spec.rb
|
550
|
-
- spec/models/
|
551
|
-
- spec/models/
|
546
|
+
- spec/models/method_enum_spec.rb
|
547
|
+
- spec/models/paginated_bank_info_list_spec.rb
|
548
|
+
- spec/models/flsa_status_enum_spec.rb
|
549
|
+
- spec/models/paginated_time_off_balance_list_spec.rb
|
550
|
+
- spec/models/remote_response_spec.rb
|
551
|
+
- spec/models/employee_request_spec.rb
|
552
|
+
- spec/models/paginated_employee_list_spec.rb
|
553
|
+
- spec/models/sync_status_status_enum_spec.rb
|
554
|
+
- spec/models/location_type_enum_spec.rb
|
555
|
+
- spec/models/generate_remote_key_request_spec.rb
|
552
556
|
- spec/models/location_spec.rb
|
553
|
-
- spec/models/
|
554
|
-
- spec/models/
|
555
|
-
- spec/models/
|
557
|
+
- spec/models/ethnicity_enum_spec.rb
|
558
|
+
- spec/models/group_type_enum_spec.rb
|
559
|
+
- spec/models/paginated_sync_status_list_spec.rb
|
560
|
+
- spec/models/time_off_spec.rb
|
561
|
+
- spec/models/account_details_and_actions_spec.rb
|
556
562
|
- spec/models/payroll_run_spec.rb
|
557
|
-
- spec/models/
|
563
|
+
- spec/models/time_off_balance_spec.rb
|
564
|
+
- spec/models/issue_spec.rb
|
565
|
+
- spec/models/employee_spec.rb
|
558
566
|
- spec/models/paginated_deduction_list_spec.rb
|
559
|
-
- spec/models/
|
560
|
-
- spec/models/
|
561
|
-
- spec/models/
|
567
|
+
- spec/models/policy_type_enum_spec.rb
|
568
|
+
- spec/models/sync_status_spec.rb
|
569
|
+
- spec/models/paginated_location_list_spec.rb
|
570
|
+
- spec/models/account_token_spec.rb
|
571
|
+
- spec/models/account_type_enum_spec.rb
|
572
|
+
- spec/models/marital_status_enum_spec.rb
|
573
|
+
- spec/models/debug_mode_log_spec.rb
|
574
|
+
- spec/models/benefit_spec.rb
|
575
|
+
- spec/models/meta_response_spec.rb
|
576
|
+
- spec/models/linked_account_status_spec.rb
|
577
|
+
- spec/models/employment_spec.rb
|
562
578
|
- spec/models/error_validation_problem_spec.rb
|
563
|
-
- spec/models/paginated_pay_group_list_spec.rb
|
564
|
-
- spec/models/account_integration_spec.rb
|
565
|
-
- spec/models/debug_model_log_summary_spec.rb
|
566
579
|
- spec/models/group_spec.rb
|
567
|
-
- spec/models/
|
568
|
-
- spec/models/validation_problem_source_spec.rb
|
569
|
-
- spec/models/remote_data_request_spec.rb
|
570
|
-
- spec/models/encoding_enum_spec.rb
|
571
|
-
- spec/models/issue_status_enum_spec.rb
|
572
|
-
- spec/models/benefit_spec.rb
|
573
|
-
- spec/models/paginated_company_list_spec.rb
|
574
|
-
- spec/models/sync_status_status_enum_spec.rb
|
575
|
-
- spec/models/method_enum_spec.rb
|
580
|
+
- spec/models/earning_type_enum_spec.rb
|
576
581
|
- spec/models/gender_enum_spec.rb
|
577
|
-
- spec/models/
|
582
|
+
- spec/models/units_enum_spec.rb
|
583
|
+
- spec/models/webhook_receiver_spec.rb
|
584
|
+
- spec/models/account_details_and_actions_status_enum_spec.rb
|
585
|
+
- spec/models/paginated_payroll_run_list_spec.rb
|
586
|
+
- spec/models/warning_validation_problem_spec.rb
|
587
|
+
- spec/models/ignore_common_model_request_spec.rb
|
588
|
+
- spec/models/validation_problem_source_spec.rb
|
589
|
+
- spec/models/model_operation_spec.rb
|
590
|
+
- spec/models/available_actions_spec.rb
|
591
|
+
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
578
592
|
- spec/models/remote_data_spec.rb
|
593
|
+
- spec/models/deduction_spec.rb
|
594
|
+
- spec/models/multipart_form_field_request_spec.rb
|
595
|
+
- spec/models/country_enum_spec.rb
|
596
|
+
- spec/models/employment_type_enum_spec.rb
|
597
|
+
- spec/models/paginated_time_off_list_spec.rb
|
598
|
+
- spec/models/pay_currency_enum_spec.rb
|
599
|
+
- spec/models/remote_data_request_spec.rb
|
579
600
|
- spec/models/remote_key_for_regeneration_request_spec.rb
|
580
|
-
- spec/models/
|
581
|
-
- spec/models/account_details_and_actions_spec.rb
|
582
|
-
- spec/models/paginated_time_off_balance_list_spec.rb
|
583
|
-
- spec/models/end_user_details_request_spec.rb
|
584
|
-
- spec/models/pay_period_enum_spec.rb
|
585
|
-
- spec/models/time_off_spec.rb
|
586
|
-
- spec/models/paginated_group_list_spec.rb
|
587
|
-
- spec/models/account_details_and_actions_integration_spec.rb
|
588
|
-
- spec/models/paginated_payroll_run_list_spec.rb
|
589
|
-
- spec/models/generate_remote_key_request_spec.rb
|
590
|
-
- spec/models/paginated_employee_list_spec.rb
|
591
|
-
- spec/models/remote_response_spec.rb
|
592
|
-
- spec/models/paginated_location_list_spec.rb
|
593
|
-
- spec/models/time_off_response_spec.rb
|
594
|
-
- spec/models/run_state_enum_spec.rb
|
595
|
-
- spec/models/flsa_status_enum_spec.rb
|
601
|
+
- spec/models/paginated_pay_group_list_spec.rb
|
596
602
|
- spec/spec_helper.rb
|
data/docs/BenefitPlanTypeEnum.md
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# MergeHRISClient::BenefitPlanTypeEnum
|
2
|
-
|
3
|
-
## Properties
|
4
|
-
|
5
|
-
| Name | Type | Description | Notes |
|
6
|
-
| ---- | ---- | ----------- | ----- |
|
7
|
-
|
8
|
-
## Example
|
9
|
-
|
10
|
-
```ruby
|
11
|
-
require 'merge_hris_client'
|
12
|
-
|
13
|
-
instance = MergeHRISClient::BenefitPlanTypeEnum.new()
|
14
|
-
```
|
15
|
-
|
data/docs/TypeEnum.md
DELETED
@@ -1,196 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Merge HRIS API
|
3
|
-
|
4
|
-
#The unified API for building rich integrations with multiple HR Information System platforms.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0
|
7
|
-
Contact: hello@merge.dev
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'cgi'
|
14
|
-
|
15
|
-
module MergeHRISClient
|
16
|
-
class TimeOffBalanceApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
# Returns a list of `TimeOffBalance` objects.
|
23
|
-
# @param x_account_token [String] Token identifying the end user.
|
24
|
-
# @param [Hash] opts the optional parameters
|
25
|
-
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
26
|
-
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
|
-
# @option opts [String] :cursor The pagination cursor value.
|
28
|
-
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
29
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
31
|
-
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
32
|
-
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
33
|
-
# @option opts [Integer] :page_size Number of results to return per page.
|
34
|
-
# @option opts [String] :remote_id The API provider's ID for the given object.
|
35
|
-
# @return [PaginatedTimeOffBalanceList]
|
36
|
-
def time_off_balance_list(x_account_token, opts = {})
|
37
|
-
data, _status_code, _headers = time_off_balance_list_with_http_info(x_account_token, opts)
|
38
|
-
data
|
39
|
-
end
|
40
|
-
|
41
|
-
# Returns a list of `TimeOffBalance` objects.
|
42
|
-
# @param x_account_token [String] Token identifying the end user.
|
43
|
-
# @param [Hash] opts the optional parameters
|
44
|
-
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
45
|
-
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
46
|
-
# @option opts [String] :cursor The pagination cursor value.
|
47
|
-
# @option opts [String] :employee_id If provided, will only return time off balances for this employee.
|
48
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
49
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
50
|
-
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
51
|
-
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
52
|
-
# @option opts [Integer] :page_size Number of results to return per page.
|
53
|
-
# @option opts [String] :remote_id The API provider's ID for the given object.
|
54
|
-
# @return [Array<(PaginatedTimeOffBalanceList, Integer, Hash)>] PaginatedTimeOffBalanceList data, response status code and response headers
|
55
|
-
def time_off_balance_list_with_http_info(x_account_token, opts = {})
|
56
|
-
if @api_client.config.debugging
|
57
|
-
@api_client.config.logger.debug 'Calling API: TimeOffBalanceApi.time_off_balance_list ...'
|
58
|
-
end
|
59
|
-
# verify the required parameter 'x_account_token' is set
|
60
|
-
if @api_client.config.client_side_validation && x_account_token.nil?
|
61
|
-
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling TimeOffBalanceApi.time_off_balance_list"
|
62
|
-
end
|
63
|
-
allowable_values = ["employee"]
|
64
|
-
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
65
|
-
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
66
|
-
end
|
67
|
-
# resource path
|
68
|
-
local_var_path = '/time-off-balance'
|
69
|
-
|
70
|
-
# query parameters
|
71
|
-
query_params = opts[:query_params] || {}
|
72
|
-
query_params[:'created_after'] = opts[:'created_after'] if !opts[:'created_after'].nil?
|
73
|
-
query_params[:'created_before'] = opts[:'created_before'] if !opts[:'created_before'].nil?
|
74
|
-
query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
|
75
|
-
query_params[:'employee_id'] = opts[:'employee_id'] if !opts[:'employee_id'].nil?
|
76
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
77
|
-
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
78
|
-
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
79
|
-
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
80
|
-
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
81
|
-
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
82
|
-
|
83
|
-
# header parameters
|
84
|
-
header_params = opts[:header_params] || {}
|
85
|
-
# HTTP header 'Accept' (if needed)
|
86
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
87
|
-
header_params[:'X-Account-Token'] = x_account_token
|
88
|
-
|
89
|
-
# form parameters
|
90
|
-
form_params = opts[:form_params] || {}
|
91
|
-
|
92
|
-
# http body (model)
|
93
|
-
post_body = opts[:debug_body]
|
94
|
-
|
95
|
-
# return_type
|
96
|
-
return_type = opts[:debug_return_type] || 'PaginatedTimeOffBalanceList'
|
97
|
-
|
98
|
-
# auth_names
|
99
|
-
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
100
|
-
|
101
|
-
new_options = opts.merge(
|
102
|
-
:operation => :"TimeOffBalanceApi.time_off_balance_list",
|
103
|
-
:header_params => header_params,
|
104
|
-
:query_params => query_params,
|
105
|
-
:form_params => form_params,
|
106
|
-
:body => post_body,
|
107
|
-
:auth_names => auth_names,
|
108
|
-
:return_type => return_type
|
109
|
-
)
|
110
|
-
|
111
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
112
|
-
if @api_client.config.debugging
|
113
|
-
@api_client.config.logger.debug "API called: TimeOffBalanceApi#time_off_balance_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
114
|
-
end
|
115
|
-
return data, status_code, headers
|
116
|
-
end
|
117
|
-
|
118
|
-
# Returns an `TimeOffBalance` object with the given `id`.
|
119
|
-
# @param x_account_token [String] Token identifying the end user.
|
120
|
-
# @param id [String]
|
121
|
-
# @param [Hash] opts the optional parameters
|
122
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
123
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
124
|
-
# @return [TimeOffBalance]
|
125
|
-
def time_off_balance_retrieve(x_account_token, id, opts = {})
|
126
|
-
data, _status_code, _headers = time_off_balance_retrieve_with_http_info(x_account_token, id, opts)
|
127
|
-
data
|
128
|
-
end
|
129
|
-
|
130
|
-
# Returns an `TimeOffBalance` object with the given `id`.
|
131
|
-
# @param x_account_token [String] Token identifying the end user.
|
132
|
-
# @param id [String]
|
133
|
-
# @param [Hash] opts the optional parameters
|
134
|
-
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
135
|
-
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
136
|
-
# @return [Array<(TimeOffBalance, Integer, Hash)>] TimeOffBalance data, response status code and response headers
|
137
|
-
def time_off_balance_retrieve_with_http_info(x_account_token, id, opts = {})
|
138
|
-
if @api_client.config.debugging
|
139
|
-
@api_client.config.logger.debug 'Calling API: TimeOffBalanceApi.time_off_balance_retrieve ...'
|
140
|
-
end
|
141
|
-
# verify the required parameter 'x_account_token' is set
|
142
|
-
if @api_client.config.client_side_validation && x_account_token.nil?
|
143
|
-
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling TimeOffBalanceApi.time_off_balance_retrieve"
|
144
|
-
end
|
145
|
-
# verify the required parameter 'id' is set
|
146
|
-
if @api_client.config.client_side_validation && id.nil?
|
147
|
-
fail ArgumentError, "Missing the required parameter 'id' when calling TimeOffBalanceApi.time_off_balance_retrieve"
|
148
|
-
end
|
149
|
-
allowable_values = ["employee"]
|
150
|
-
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
151
|
-
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
152
|
-
end
|
153
|
-
# resource path
|
154
|
-
local_var_path = '/time-off-balance/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
155
|
-
|
156
|
-
# query parameters
|
157
|
-
query_params = opts[:query_params] || {}
|
158
|
-
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
159
|
-
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
160
|
-
|
161
|
-
# header parameters
|
162
|
-
header_params = opts[:header_params] || {}
|
163
|
-
# HTTP header 'Accept' (if needed)
|
164
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
165
|
-
header_params[:'X-Account-Token'] = x_account_token
|
166
|
-
|
167
|
-
# form parameters
|
168
|
-
form_params = opts[:form_params] || {}
|
169
|
-
|
170
|
-
# http body (model)
|
171
|
-
post_body = opts[:debug_body]
|
172
|
-
|
173
|
-
# return_type
|
174
|
-
return_type = opts[:debug_return_type] || 'TimeOffBalance'
|
175
|
-
|
176
|
-
# auth_names
|
177
|
-
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
178
|
-
|
179
|
-
new_options = opts.merge(
|
180
|
-
:operation => :"TimeOffBalanceApi.time_off_balance_retrieve",
|
181
|
-
:header_params => header_params,
|
182
|
-
:query_params => query_params,
|
183
|
-
:form_params => form_params,
|
184
|
-
:body => post_body,
|
185
|
-
:auth_names => auth_names,
|
186
|
-
:return_type => return_type
|
187
|
-
)
|
188
|
-
|
189
|
-
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
190
|
-
if @api_client.config.debugging
|
191
|
-
@api_client.config.logger.debug "API called: TimeOffBalanceApi#time_off_balance_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
192
|
-
end
|
193
|
-
return data, status_code, headers
|
194
|
-
end
|
195
|
-
end
|
196
|
-
end
|
@@ -1,56 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#Merge HRIS API
|
3
|
-
|
4
|
-
#The unified API for building rich integrations with multiple HR Information System platforms.
|
5
|
-
|
6
|
-
The version of the OpenAPI document: 1.0
|
7
|
-
Contact: hello@merge.dev
|
8
|
-
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.1.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'date'
|
14
|
-
require 'time'
|
15
|
-
|
16
|
-
module MergeHRISClient
|
17
|
-
class BenefitPlanTypeEnum
|
18
|
-
MEDICAL = "MEDICAL".freeze
|
19
|
-
DENTAL = "DENTAL".freeze
|
20
|
-
VISION = "VISION".freeze
|
21
|
-
HSA = "HSA".freeze
|
22
|
-
FSA_MEDICAL = "FSA_MEDICAL".freeze
|
23
|
-
FSA_DEPENDENT_CARE = "FSA_DEPENDENT_CARE".freeze
|
24
|
-
SIMPLE_IRA = "SIMPLE_IRA".freeze
|
25
|
-
N401_K = "_401K".freeze
|
26
|
-
ROTH_401_K = "ROTH_401K".freeze
|
27
|
-
OTHER_NON_TAXABLE = "OTHER_NON_TAXABLE".freeze
|
28
|
-
COMMUTER_TRANSIT = "COMMUTER_TRANSIT".freeze
|
29
|
-
COMMUTER_PARKING = "COMMUTER_PARKING".freeze
|
30
|
-
N401_K_LOAN_PAYMENT = "_401K_LOAN_PAYMENT".freeze
|
31
|
-
SHORT_DISABILITY = "SHORT_DISABILITY".freeze
|
32
|
-
LONG_DISABILITY = "LONG_DISABILITY".freeze
|
33
|
-
LIFE = "LIFE".freeze
|
34
|
-
SEP_IRA = "SEP_IRA".freeze
|
35
|
-
SARSEP = "SARSEP".freeze
|
36
|
-
CUSTOM_TAXABLE = "CUSTOM_TAXABLE".freeze
|
37
|
-
N403_B = "_403B".freeze
|
38
|
-
ROTH_403_B = "ROTH_403B".freeze
|
39
|
-
STUDENT_LOAN = "STUDENT_LOAN".freeze
|
40
|
-
|
41
|
-
# Builds the enum from string
|
42
|
-
# @param [String] The enum value in the form of the string
|
43
|
-
# @return [String] The enum value
|
44
|
-
def self.build_from_hash(value)
|
45
|
-
new.build_from_hash(value)
|
46
|
-
end
|
47
|
-
|
48
|
-
# Builds the enum from string
|
49
|
-
# @param [String] The enum value in the form of the string
|
50
|
-
# @return [String] The enum value
|
51
|
-
def build_from_hash(value)
|
52
|
-
constantValues = BenefitPlanTypeEnum.constants.select { |c| BenefitPlanTypeEnum::const_get(c) == value }
|
53
|
-
value
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|