affixapi 1.1.51 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/openapi_client/models/address_no_non_null_request.rb +2 -2
- data/lib/openapi_client/models/address_response.rb +2 -2
- data/lib/openapi_client/version.rb +1 -1
- data/spec/models/address_no_non_null_request_spec.rb +1 -1
- data/spec/models/address_response_spec.rb +1 -1
- metadata +37 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cb029d4d2a35b9328f6b6db78f6abbb570a7f997f14a515b23c18a157d86bdf7
|
|
4
|
+
data.tar.gz: 5b3e8a19eac7733e5da420107b1594c7a3dc04a6fac60eb5d5e2f578c2037938
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ce13a1ff84b83378730e3fba438e3b83858c71687f11ecff4b0aaff0d43e53743f6b219c470d5c07a82303a99cb836bd1fdd7ff205ef2d247162fe24b8c9cc3
|
|
7
|
+
data.tar.gz: 1e4ebd9d891caeb6bd689ec3b3bc14501ec8d46e66b1747eab925c106bcb0629b23636d45d24e7fd8fab2a1536e34d30612e16791774b5014a923f04a09707e6
|
data/Gemfile.lock
CHANGED
|
@@ -133,7 +133,7 @@ module OpenapiClient
|
|
|
133
133
|
# Check to see if the all the properties in the model are valid
|
|
134
134
|
# @return true if the model is valid
|
|
135
135
|
def valid?
|
|
136
|
-
country_validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
136
|
+
country_validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
137
137
|
return false unless country_validator.valid?(@country)
|
|
138
138
|
true
|
|
139
139
|
end
|
|
@@ -141,7 +141,7 @@ module OpenapiClient
|
|
|
141
141
|
# Custom attribute writer method checking allowed values (enum).
|
|
142
142
|
# @param [Object] country Object to be assigned
|
|
143
143
|
def country=(country)
|
|
144
|
-
validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
144
|
+
validator = EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
145
145
|
unless validator.valid?(country)
|
|
146
146
|
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
|
|
147
147
|
end
|
|
@@ -133,7 +133,7 @@ module OpenapiClient
|
|
|
133
133
|
# Check to see if the all the properties in the model are valid
|
|
134
134
|
# @return true if the model is valid
|
|
135
135
|
def valid?
|
|
136
|
-
country_validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
136
|
+
country_validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
137
137
|
return false unless country_validator.valid?(@country)
|
|
138
138
|
true
|
|
139
139
|
end
|
|
@@ -141,7 +141,7 @@ module OpenapiClient
|
|
|
141
141
|
# Custom attribute writer method checking allowed values (enum).
|
|
142
142
|
# @param [Object] country Object to be assigned
|
|
143
143
|
def country=(country)
|
|
144
|
-
validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
144
|
+
validator = EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
145
145
|
unless validator.valid?(country)
|
|
146
146
|
fail ArgumentError, "invalid value for \"country\", must be one of #{validator.allowable_values}."
|
|
147
147
|
end
|
|
@@ -46,7 +46,7 @@ describe OpenapiClient::AddressNoNonNullRequest do
|
|
|
46
46
|
describe 'test attribute "country"' do
|
|
47
47
|
it 'should work' do
|
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "JP", "KR", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
50
50
|
# validator.allowable_values.each do |value|
|
|
51
51
|
# expect { instance.country = value }.not_to raise_error
|
|
52
52
|
# end
|
|
@@ -46,7 +46,7 @@ describe OpenapiClient::AddressResponse do
|
|
|
46
46
|
describe 'test attribute "country"' do
|
|
47
47
|
it 'should work' do
|
|
48
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
49
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "IE", "IT", "JP", "LT", "LV", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "AT", "AU", "BE", "CA", "CH", "CN", "CZ", "DE", "DK", "EE", "ES", "FR", "GB", "HK", "ID", "IE", "IN", "IT", "KR", "JP", "LT", "LV", "MO", "MY", "NL", "NO", "PH", "PL", "RO", "SE", "SG", "SK", "TW", "US"])
|
|
50
50
|
# validator.allowable_values.each do |value|
|
|
51
51
|
# expect { instance.country = value }.not_to raise_error
|
|
52
52
|
# 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.52
|
|
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-04-
|
|
11
|
+
date: 2024-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -2754,53 +2754,53 @@ signing_key:
|
|
|
2754
2754
|
specification_version: 4
|
|
2755
2755
|
summary: Affix API Ruby Gem
|
|
2756
2756
|
test_files:
|
|
2757
|
-
- spec/api/core_api_spec.rb
|
|
2758
|
-
- spec/api/class20230301_api_spec.rb
|
|
2759
|
-
- spec/api/xhr_vertically_integrated_api_spec.rb
|
|
2760
2757
|
- spec/api/management_api_spec.rb
|
|
2758
|
+
- spec/api/xhr_vertically_integrated_api_spec.rb
|
|
2759
|
+
- spec/api/class20230301_api_spec.rb
|
|
2760
|
+
- spec/api/core_api_spec.rb
|
|
2761
2761
|
- spec/api_client_spec.rb
|
|
2762
2762
|
- spec/configuration_spec.rb
|
|
2763
|
-
- spec/models/
|
|
2764
|
-
- spec/models/provider_response_spec.rb
|
|
2763
|
+
- spec/models/address_response_spec.rb
|
|
2765
2764
|
- spec/models/mode_response_spec.rb
|
|
2765
|
+
- spec/models/provider_response_spec.rb
|
|
2766
|
+
- spec/models/payslip_response_earnings_spec.rb
|
|
2767
|
+
- spec/models/payrun_response_spec.rb
|
|
2768
|
+
- spec/models/location_response_spec.rb
|
|
2769
|
+
- spec/models/payslip_response_spec.rb
|
|
2770
|
+
- spec/models/inline_response400_spec.rb
|
|
2766
2771
|
- spec/models/create_employee_request_bank_account_spec.rb
|
|
2767
|
-
- spec/models/id_and_message_response_spec.rb
|
|
2768
|
-
- spec/models/message_response_spec.rb
|
|
2769
|
-
- spec/models/timesheet_response_spec.rb
|
|
2770
|
-
- spec/models/create_employee_request_manager_spec.rb
|
|
2771
|
-
- spec/models/client_request_spec.rb
|
|
2772
|
-
- spec/models/identity_response_spec.rb
|
|
2773
2772
|
- spec/models/scopes_response_spec.rb
|
|
2774
|
-
- spec/models/
|
|
2773
|
+
- spec/models/employment_no_null_enum_request_spec.rb
|
|
2775
2774
|
- spec/models/group_no_null_enum_request_spec.rb
|
|
2775
|
+
- spec/models/time_off_entry_response_spec.rb
|
|
2776
|
+
- spec/models/provider_request_spec.rb
|
|
2776
2777
|
- spec/models/payslip_response_contributions_spec.rb
|
|
2777
|
-
- spec/models/
|
|
2778
|
-
- spec/models/
|
|
2778
|
+
- spec/models/company_response_spec.rb
|
|
2779
|
+
- spec/models/id_and_message_response_spec.rb
|
|
2780
|
+
- spec/models/time_off_balance_response_spec.rb
|
|
2781
|
+
- spec/models/client_request_spec.rb
|
|
2782
|
+
- spec/models/token_response_spec.rb
|
|
2783
|
+
- spec/models/employee_response_manager_spec.rb
|
|
2784
|
+
- spec/models/group_response_spec.rb
|
|
2785
|
+
- spec/models/payslip_response_deductions_spec.rb
|
|
2786
|
+
- spec/models/create_employee_request_manager_spec.rb
|
|
2779
2787
|
- spec/models/employee_response_spec.rb
|
|
2780
|
-
- spec/models/
|
|
2781
|
-
- spec/models/
|
|
2782
|
-
- spec/models/address_response_spec.rb
|
|
2783
|
-
- spec/models/scopes_request_spec.rb
|
|
2784
|
-
- spec/models/provider_request_spec.rb
|
|
2785
|
-
- spec/models/location_response_spec.rb
|
|
2788
|
+
- spec/models/payslip_response_taxes_spec.rb
|
|
2789
|
+
- spec/models/token_request_spec.rb
|
|
2786
2790
|
- spec/models/location_no_non_null_request_spec.rb
|
|
2787
|
-
- spec/models/
|
|
2791
|
+
- spec/models/timesheet_response_spec.rb
|
|
2788
2792
|
- spec/models/address_no_non_null_request_spec.rb
|
|
2789
|
-
- spec/models/time_off_balance_response_spec.rb
|
|
2790
|
-
- spec/models/inline_response400_spec.rb
|
|
2791
|
-
- spec/models/company_response_spec.rb
|
|
2792
|
-
- spec/models/payslip_response_spec.rb
|
|
2793
|
-
- spec/models/create_employee_request_spec.rb
|
|
2794
2793
|
- spec/models/inline_response409_spec.rb
|
|
2794
|
+
- spec/models/client_response_spec.rb
|
|
2795
2795
|
- spec/models/introspect_response_spec.rb
|
|
2796
|
-
- spec/models/token_response_spec.rb
|
|
2797
|
-
- spec/models/payslip_response_deductions_spec.rb
|
|
2798
2796
|
- spec/models/employment_response_spec.rb
|
|
2799
|
-
- spec/models/
|
|
2800
|
-
- spec/models/
|
|
2801
|
-
- spec/models/
|
|
2802
|
-
- spec/models/
|
|
2803
|
-
- spec/models/
|
|
2804
|
-
- spec/models/
|
|
2805
|
-
- spec/models/
|
|
2797
|
+
- spec/models/currency_not_null_request_spec.rb
|
|
2798
|
+
- spec/models/currency_response_spec.rb
|
|
2799
|
+
- spec/models/identity_response_spec.rb
|
|
2800
|
+
- spec/models/message_response_spec.rb
|
|
2801
|
+
- spec/models/scopes_request_spec.rb
|
|
2802
|
+
- spec/models/create_employee_request_spec.rb
|
|
2803
|
+
- spec/models/inline_response401_spec.rb
|
|
2804
|
+
- spec/models/mode_request_spec.rb
|
|
2805
|
+
- spec/models/disconnect_response_spec.rb
|
|
2806
2806
|
- spec/spec_helper.rb
|