affixapi 1.1.103 → 1.1.106
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/models/currency_not_null_request.rb +2 -0
- data/lib/openapi_client/models/currency_not_null_response.rb +2 -0
- data/lib/openapi_client/models/currency_response.rb +2 -0
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 687c1ddf24cd4a93861582addadb4db5c0a624d877c5c659cb58f890147a10a9
|
4
|
+
data.tar.gz: 8a1e76c92495dc66c3898db98430960b2212444215b2a3ede99271e1115fa096
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f43924e23b7e9fcf0583c62c3a8c9072447c0761b3b2df01357136c481549769d059d05da3f0abc293d7f2a43eca6a3cc26a9db1a52b45ace3b6b66b2836ab13
|
7
|
+
data.tar.gz: 3eca71be6526ae2b2d7a34747f89f88fa81e35915604afddc48f5a14ace9482243be156f294d9a4cc722f5716e6abf96e30e7b0b225b13d4c25b55cb17186fe6
|
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', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
136
|
+
country_validator = EnumAttributeValidator.new('String', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
144
|
+
validator = EnumAttributeValidator.new('String', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
136
|
+
country_validator = EnumAttributeValidator.new('String', ["null", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
144
|
+
validator = EnumAttributeValidator.new('String', ["null", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "MO", "MY", "PH", "PS", "SG", "TH", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
49
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["null", "BZ", "CA", "CR", "GT", "MX", "PA", "SV", "US", "AR", "BR", "CL", "CO", "PE", "AT", "BE", "CH", "CY", "CZ", "DE", "DK", "EE", "ES", "FI", "FR", "GB", "GR", "IE", "IM", "IS", "IT", "LI", "LT", "LU", "LV", "MK", "NL", "NO", "PL", "PT", "RO", "RU", "SE", "SK", "BD", "CN", "HK", "ID", "IL", "IN", "JP", "KR", "KZ", "MO", "MY", "PH", "PK", "PS", "SA", "SG", "TH", "TJ", "TM", "TR", "TW", "VN", "ZA", "AU", "NZ"])
|
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.106
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-04-
|
11
|
+
date: 2025-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|