affixapi 1.1.72 → 1.1.73
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/lib/openapi_client/models/compensation_history_no_non_null_request.rb +2 -2
- data/lib/openapi_client/models/compensation_history_response.rb +2 -2
- data/lib/openapi_client/version.rb +1 -1
- data/spec/models/compensation_history_no_non_null_request_spec.rb +1 -1
- data/spec/models/compensation_history_response_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca6d94053cb3f5519e3efc7492863159caf895da701ff62f89d017c397a401c8
|
4
|
+
data.tar.gz: c20c942fca92a7f8a85b7b407fe243a3c4119c0057409344a4ee956ad515ba28
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4584325db8bbac02c7ad75e5f9b8bf93cf6f9a08e796f3d5ef41cab677609d30748a7f0b9fa682fd45ee7462608dcf04ef52b36b5dd7e6e10fc3db7b426fc863
|
7
|
+
data.tar.gz: a77e6ab39733c1ecc0eec8e3baddd0f6d7ef5fc028acbea4bcb0382c2672f7918156cf701ed8c70c1ba22378099a6a9fa0fae3aaf9ee8a030a105772104b9611
|
data/Gemfile.lock
CHANGED
@@ -158,7 +158,7 @@ module OpenapiClient
|
|
158
158
|
return false if @pay_rate.nil?
|
159
159
|
return false if @pay_period.nil?
|
160
160
|
return false if @pay_frequency.nil?
|
161
|
-
pay_frequency_validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
|
161
|
+
pay_frequency_validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
|
162
162
|
return false unless pay_frequency_validator.valid?(@pay_frequency)
|
163
163
|
return false if @employment_type.nil?
|
164
164
|
employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other"])
|
@@ -170,7 +170,7 @@ module OpenapiClient
|
|
170
170
|
# Custom attribute writer method checking allowed values (enum).
|
171
171
|
# @param [Object] pay_frequency Object to be assigned
|
172
172
|
def pay_frequency=(pay_frequency)
|
173
|
-
validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
|
173
|
+
validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
|
174
174
|
unless validator.valid?(pay_frequency)
|
175
175
|
fail ArgumentError, "invalid value for \"pay_frequency\", must be one of #{validator.allowable_values}."
|
176
176
|
end
|
@@ -140,7 +140,7 @@ module OpenapiClient
|
|
140
140
|
# Check to see if the all the properties in the model are valid
|
141
141
|
# @return true if the model is valid
|
142
142
|
def valid?
|
143
|
-
pay_frequency_validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
143
|
+
pay_frequency_validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
144
144
|
return false unless pay_frequency_validator.valid?(@pay_frequency)
|
145
145
|
employment_type_validator = EnumAttributeValidator.new('String', ["full_time", "part_time", "contractor", "other", "null"])
|
146
146
|
return false unless employment_type_validator.valid?(@employment_type)
|
@@ -150,7 +150,7 @@ module OpenapiClient
|
|
150
150
|
# Custom attribute writer method checking allowed values (enum).
|
151
151
|
# @param [Object] pay_frequency Object to be assigned
|
152
152
|
def pay_frequency=(pay_frequency)
|
153
|
-
validator = EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
153
|
+
validator = EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
154
154
|
unless validator.valid?(pay_frequency)
|
155
155
|
fail ArgumentError, "invalid value for \"pay_frequency\", must be one of #{validator.allowable_values}."
|
156
156
|
end
|
@@ -40,7 +40,7 @@ describe OpenapiClient::CompensationHistoryNoNonNullRequest do
|
|
40
40
|
describe 'test attribute "pay_frequency"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other"])
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other"])
|
44
44
|
# validator.allowable_values.each do |value|
|
45
45
|
# expect { instance.pay_frequency = value }.not_to raise_error
|
46
46
|
# end
|
@@ -40,7 +40,7 @@ describe OpenapiClient::CompensationHistoryResponse do
|
|
40
40
|
describe 'test attribute "pay_frequency"' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
43
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["year", "weekly", "biweekly", "semimonthly", "monthly", "other", "null"])
|
44
44
|
# validator.allowable_values.each do |value|
|
45
45
|
# expect { instance.pay_frequency = value }.not_to raise_error
|
46
46
|
# end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|