affixapi 1.1.73 → 1.1.74
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/docs/CompensationHistoryNoNonNullRequest.md +1 -1
- data/docs/{CurrencyRequest.md → CurrencyNotNullRequest.md} +2 -2
- data/lib/openapi_client/models/compensation_history_no_non_null_request.rb +1 -1
- data/lib/openapi_client/models/{currency_request.rb → currency_not_null_request.rb} +3 -4
- data/lib/openapi_client/version.rb +1 -1
- data/lib/openapi_client.rb +1 -1
- data/spec/models/{currency_request_spec.rb → currency_not_null_request_spec.rb} +6 -6
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a0720d1eb8646fed3344a7b4840e7e95ed794755661514e74ff45a06c3e060d
|
4
|
+
data.tar.gz: eda86a58e72346c04a40d8dbfcd55ca99b5789400024e170705b341bfcc5995c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbe40924323dbff76f0e36d813164df12fc0f33982999d018aba03069821533c510f40bc67a240b6ff81d24bd979a79a9f9728aec8827302a54f96f4309dbe2a
|
7
|
+
data.tar.gz: dd875f8c2203bc7de9bc62abd5f73fee5859840f6b04622d0eed9ac377717116269a97cb27abe622764947507e59e6ca1dda0eac9afd3cfdf82b6ecf5878c34c
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -331,7 +331,7 @@ Class | Method | HTTP request | Description
|
|
331
331
|
- [OpenapiClient::CreateEmployeeRequestDependents](docs/CreateEmployeeRequestDependents.md)
|
332
332
|
- [OpenapiClient::CreateEmployeeRequestEmergencyContacts](docs/CreateEmployeeRequestEmergencyContacts.md)
|
333
333
|
- [OpenapiClient::CreateEmployeeRequestManager](docs/CreateEmployeeRequestManager.md)
|
334
|
-
- [OpenapiClient::
|
334
|
+
- [OpenapiClient::CurrencyNotNullRequest](docs/CurrencyNotNullRequest.md)
|
335
335
|
- [OpenapiClient::CurrencyResponse](docs/CurrencyResponse.md)
|
336
336
|
- [OpenapiClient::DisconnectResponse](docs/DisconnectResponse.md)
|
337
337
|
- [OpenapiClient::EmployeeResponse](docs/EmployeeResponse.md)
|
@@ -8,7 +8,7 @@
|
|
8
8
|
| **pay_period** | **String** | | |
|
9
9
|
| **pay_frequency** | **String** | | |
|
10
10
|
| **employment_type** | **String** | | |
|
11
|
-
| **currency** | [**
|
11
|
+
| **currency** | [**CurrencyNotNullRequest**](CurrencyNotNullRequest.md) | | |
|
12
12
|
| **effective_date** | **Date** | | |
|
13
13
|
|
14
14
|
## Example
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# OpenapiClient::
|
1
|
+
# OpenapiClient::CurrencyNotNullRequest
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -10,6 +10,6 @@
|
|
10
10
|
```ruby
|
11
11
|
require 'openapi_client'
|
12
12
|
|
13
|
-
instance = OpenapiClient::
|
13
|
+
instance = OpenapiClient::CurrencyNotNullRequest.new()
|
14
14
|
```
|
15
15
|
|
@@ -14,8 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module OpenapiClient
|
17
|
-
class
|
18
|
-
NULL = "null".freeze
|
17
|
+
class CurrencyNotNullRequest
|
19
18
|
USD = "usd".freeze
|
20
19
|
GBP = "gbp".freeze
|
21
20
|
EUR = "eur".freeze
|
@@ -31,8 +30,8 @@ module OpenapiClient
|
|
31
30
|
# @param [String] The enum value in the form of the string
|
32
31
|
# @return [String] The enum value
|
33
32
|
def build_from_hash(value)
|
34
|
-
constantValues =
|
35
|
-
raise "Invalid ENUM value #{value} for class #
|
33
|
+
constantValues = CurrencyNotNullRequest.constants.select { |c| CurrencyNotNullRequest::const_get(c) == value }
|
34
|
+
raise "Invalid ENUM value #{value} for class #CurrencyNotNullRequest" if constantValues.empty?
|
36
35
|
value
|
37
36
|
end
|
38
37
|
end
|
data/lib/openapi_client.rb
CHANGED
@@ -29,7 +29,7 @@ require 'openapi_client/models/create_employee_request_bank_account'
|
|
29
29
|
require 'openapi_client/models/create_employee_request_dependents'
|
30
30
|
require 'openapi_client/models/create_employee_request_emergency_contacts'
|
31
31
|
require 'openapi_client/models/create_employee_request_manager'
|
32
|
-
require 'openapi_client/models/
|
32
|
+
require 'openapi_client/models/currency_not_null_request'
|
33
33
|
require 'openapi_client/models/currency_response'
|
34
34
|
require 'openapi_client/models/disconnect_response'
|
35
35
|
require 'openapi_client/models/employee_response'
|
@@ -14,15 +14,15 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for OpenapiClient::
|
17
|
+
# Unit tests for OpenapiClient::CurrencyNotNullRequest
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe OpenapiClient::
|
21
|
-
let(:instance) { OpenapiClient::
|
20
|
+
describe OpenapiClient::CurrencyNotNullRequest do
|
21
|
+
let(:instance) { OpenapiClient::CurrencyNotNullRequest.new }
|
22
22
|
|
23
|
-
describe 'test an instance of
|
24
|
-
it 'should create an instance of
|
25
|
-
expect(instance).to be_instance_of(OpenapiClient::
|
23
|
+
describe 'test an instance of CurrencyNotNullRequest' do
|
24
|
+
it 'should create an instance of CurrencyNotNullRequest' do
|
25
|
+
expect(instance).to be_instance_of(OpenapiClient::CurrencyNotNullRequest)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: affixapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.74
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
@@ -136,7 +136,7 @@ files:
|
|
136
136
|
- docs/CreateEmployeeRequestDependents.md
|
137
137
|
- docs/CreateEmployeeRequestEmergencyContacts.md
|
138
138
|
- docs/CreateEmployeeRequestManager.md
|
139
|
-
- docs/
|
139
|
+
- docs/CurrencyNotNullRequest.md
|
140
140
|
- docs/CurrencyResponse.md
|
141
141
|
- docs/DisconnectResponse.md
|
142
142
|
- docs/EmployeeResponse.md
|
@@ -198,7 +198,7 @@ files:
|
|
198
198
|
- lib/openapi_client/models/create_employee_request_dependents.rb
|
199
199
|
- lib/openapi_client/models/create_employee_request_emergency_contacts.rb
|
200
200
|
- lib/openapi_client/models/create_employee_request_manager.rb
|
201
|
-
- lib/openapi_client/models/
|
201
|
+
- lib/openapi_client/models/currency_not_null_request.rb
|
202
202
|
- lib/openapi_client/models/currency_response.rb
|
203
203
|
- lib/openapi_client/models/disconnect_response.rb
|
204
204
|
- lib/openapi_client/models/employee_response.rb
|
@@ -256,7 +256,7 @@ files:
|
|
256
256
|
- spec/models/create_employee_request_emergency_contacts_spec.rb
|
257
257
|
- spec/models/create_employee_request_manager_spec.rb
|
258
258
|
- spec/models/create_employee_request_spec.rb
|
259
|
-
- spec/models/
|
259
|
+
- spec/models/currency_not_null_request_spec.rb
|
260
260
|
- spec/models/currency_response_spec.rb
|
261
261
|
- spec/models/disconnect_response_spec.rb
|
262
262
|
- spec/models/employee_response_manager_spec.rb
|
@@ -2786,12 +2786,12 @@ test_files:
|
|
2786
2786
|
- spec/configuration_spec.rb
|
2787
2787
|
- spec/models/payslip_response_contributions_spec.rb
|
2788
2788
|
- spec/models/id_and_message_response_spec.rb
|
2789
|
-
- spec/models/currency_request_spec.rb
|
2790
2789
|
- spec/models/compensation_history_response_spec.rb
|
2791
2790
|
- spec/models/location_response_spec.rb
|
2792
2791
|
- spec/models/mode_request_spec.rb
|
2793
2792
|
- spec/models/group_no_null_enum_request_spec.rb
|
2794
2793
|
- spec/models/time_off_balance_response_spec.rb
|
2794
|
+
- spec/models/currency_not_null_request_spec.rb
|
2795
2795
|
- spec/models/payrun_response_spec.rb
|
2796
2796
|
- spec/models/employee_response_manager_spec.rb
|
2797
2797
|
- spec/models/message_response_spec.rb
|