late-sdk 0.0.647 → 0.0.648
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/lib/zernio-sdk/models/create_phone_number_port_in_request_end_user.rb +2 -2
- data/lib/zernio-sdk/version.rb +1 -1
- data/openapi.yaml +1 -1
- data/spec/models/create_phone_number_port_in_request_end_user_spec.rb +1 -1
- data/zernio-sdk-0.0.648.gem +0 -0
- metadata +2 -2
- data/zernio-sdk-0.0.647.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e21eb12ff67bcdeb61d40a20bc51dcf1a92cdb3bb9bf19bcbb7dd2e2425e8ced
|
|
4
|
+
data.tar.gz: 8aad18521307af157b1e28b69068a19acaa2622e89b11eb58fdedea066fd0096
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f3100ae4c406a0c820ef17236d53ad625978869edb26bf501aeda2753ba42c45432fcd88356173c51be6764943f7756c3b40d175b2f01adc2084eb67a8d1b0aa
|
|
7
|
+
data.tar.gz: c35bc27f945ff581ff8ae891d4f494a022331015b6141f2c99c6d7c0cb9909ab1e7de1265ae8daf9188f5e66a6558a17ff92e4848f1419e5650096b3b4b7a443
|
|
@@ -276,7 +276,7 @@ module Zernio
|
|
|
276
276
|
return false if @locality.nil?
|
|
277
277
|
return false if @postal_code.nil?
|
|
278
278
|
return false if @country_code.nil?
|
|
279
|
-
country_code_validator = EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU"])
|
|
279
|
+
country_code_validator = EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU", "BR"])
|
|
280
280
|
return false unless country_code_validator.valid?(@country_code)
|
|
281
281
|
return false if @country_code.to_s.length > 2
|
|
282
282
|
return false if @country_code.to_s.length < 2
|
|
@@ -374,7 +374,7 @@ module Zernio
|
|
|
374
374
|
# Custom attribute writer method checking allowed values (enum).
|
|
375
375
|
# @param [Object] country_code Object to be assigned
|
|
376
376
|
def country_code=(country_code)
|
|
377
|
-
validator = EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU"])
|
|
377
|
+
validator = EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU", "BR"])
|
|
378
378
|
unless validator.valid?(country_code)
|
|
379
379
|
fail ArgumentError, "invalid value for \"country_code\", must be one of #{validator.allowable_values}."
|
|
380
380
|
end
|
data/lib/zernio-sdk/version.rb
CHANGED
data/openapi.yaml
CHANGED
|
@@ -30250,7 +30250,7 @@ paths:
|
|
|
30250
30250
|
locality: { type: string }
|
|
30251
30251
|
administrativeArea: { type: string, description: "Region. Required for US/CA as the 2-letter state/province code (full names are accepted and normalized); optional elsewhere." }
|
|
30252
30252
|
postalCode: { type: string, description: "Postal code. Validated as a US ZIP / Canadian postal code for US/CA; free-form elsewhere." }
|
|
30253
|
-
countryCode: { type: string, minLength: 2, maxLength: 2, enum: [US, CA, GB, ES, DE, FR, NL, AU], description: "Service-address country (a supported port-in country)." }
|
|
30253
|
+
countryCode: { type: string, minLength: 2, maxLength: 2, enum: [US, CA, GB, ES, DE, FR, NL, AU, BR], description: "Service-address country (a supported port-in country)." }
|
|
30254
30254
|
loaDocumentId: { type: string, description: Document id from POST /v1/phone-numbers/port-in/documents (kind=loa). }
|
|
30255
30255
|
invoiceDocumentId: { type: string, description: Document id from POST /v1/phone-numbers/port-in/documents (kind=invoice). }
|
|
30256
30256
|
focDatetimeRequested: { type: string, format: date-time, description: "Requested port date; the carrier confirms the actual FOC later. US/CA default is one week out (shifted off weekends); international orders are scheduled into the carrier's next allowed porting window at or after this date." }
|
|
@@ -102,7 +102,7 @@ describe Zernio::CreatePhoneNumberPortInRequestEndUser do
|
|
|
102
102
|
describe 'test attribute "country_code"' do
|
|
103
103
|
it 'should work' do
|
|
104
104
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
105
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU"])
|
|
105
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["US", "CA", "GB", "ES", "DE", "FR", "NL", "AU", "BR"])
|
|
106
106
|
# validator.allowable_values.each do |value|
|
|
107
107
|
# expect { instance.country_code = value }.not_to raise_error
|
|
108
108
|
# end
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.648
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -4925,7 +4925,7 @@ files:
|
|
|
4925
4925
|
- spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
|
|
4926
4926
|
- spec/models/you_tube_video_retention_response_spec.rb
|
|
4927
4927
|
- spec/spec_helper.rb
|
|
4928
|
-
- zernio-sdk-0.0.
|
|
4928
|
+
- zernio-sdk-0.0.648.gem
|
|
4929
4929
|
- zernio-sdk.gemspec
|
|
4930
4930
|
homepage: https://openapi-generator.tech
|
|
4931
4931
|
licenses:
|
data/zernio-sdk-0.0.647.gem
DELETED
|
Binary file
|