korona-cloud-client 1.0.13 → 1.0.14
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 212671deea23f0046ae33ba498d0e8f82d306e01ac5b51181fe66d264ba3f585
|
|
4
|
+
data.tar.gz: a606e658578dbcb11d5a878fa5d75533d30f49aaa8745b4126380d2bf554ec04
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5ea25a410ac3797a4562115e043b6ecb2a9d4aed2abcb99992147b58b6d75605c28c51cfacf6f83c0c7e7e3afab9744daa50403f682a986d89cb0ffc1fa03a92
|
|
7
|
+
data.tar.gz: 95bf76dd047a1de5cff95d09cc3eddd5c261dfdad35b2c1409769abbc13730c52d16d82e483a5ba28597075eba9d4676747ecbe21da5a6e6ec96261045f8b6f8
|
|
Binary file
|
|
@@ -497,7 +497,7 @@ module KoronaCloudClient
|
|
|
497
497
|
# Custom attribute writer method checking allowed values (enum).
|
|
498
498
|
# @param [Object] packaging_unit Object to be assigned
|
|
499
499
|
def packaging_unit=(packaging_unit)
|
|
500
|
-
validator = EnumAttributeValidator.new('String', ["CUBIC_INCH", "CUBIC_METER", "FLUID_OUNCE", "GALLON_FL", "GRAM", "ONE_HUNDRED_METERS", "INCH", "KILOGRAM", "LITER", "CENTIMETER", "METER", "MILLILITER", "OUNCE", "POUND", "SQUARE_INCH", "SQUARE_METER"])
|
|
500
|
+
validator = EnumAttributeValidator.new('String', ["CUBIC_INCH", "CUBIC_METER", "FLUID_OUNCE", "GALLON_FL", "GRAM", "ONE_HUNDRED_METERS", "INCH", "KILOGRAM", "LITER", "CENTIMETER", "METER", "MILLILITER", "OUNCE", "POUND", "SQUARE_INCH", "SQUARE_METER", "PORTION", "PIECE", "CARTON"])
|
|
501
501
|
unless validator.valid?(packaging_unit)
|
|
502
502
|
fail ArgumentError, "invalid value for \"packaging_unit\", must be one of #{validator.allowable_values}."
|
|
503
503
|
end
|
data/spec/models/product_spec.rb
CHANGED
|
@@ -178,7 +178,7 @@ describe KoronaCloudClient::Product do
|
|
|
178
178
|
describe 'test attribute "packaging_unit"' do
|
|
179
179
|
it 'should work' do
|
|
180
180
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
181
|
-
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["CUBIC_INCH", "CUBIC_METER", "FLUID_OUNCE", "GALLON_FL", "GRAM", "ONE_HUNDRED_METERS", "INCH", "KILOGRAM", "LITER", "CENTIMETER", "METER", "MILLILITER", "OUNCE", "POUND", "SQUARE_INCH", "SQUARE_METER"])
|
|
181
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["CUBIC_INCH", "CUBIC_METER", "FLUID_OUNCE", "GALLON_FL", "GRAM", "ONE_HUNDRED_METERS", "INCH", "KILOGRAM", "LITER", "CENTIMETER", "METER", "MILLILITER", "OUNCE", "POUND", "SQUARE_INCH", "SQUARE_METER", "PORTION", "PIECE", "CARTON"])
|
|
182
182
|
# validator.allowable_values.each do |value|
|
|
183
183
|
# expect { instance.packaging_unit = value }.not_to raise_error
|
|
184
184
|
# end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: korona-cloud-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.14
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-07-
|
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -437,6 +437,7 @@ files:
|
|
|
437
437
|
- git_push.sh
|
|
438
438
|
- korona-cloud-client-1.0.10.gem
|
|
439
439
|
- korona-cloud-client-1.0.12.gem
|
|
440
|
+
- korona-cloud-client-1.0.13.gem
|
|
440
441
|
- korona-cloud-client.gemspec
|
|
441
442
|
- lib/korona-cloud-client.rb
|
|
442
443
|
- lib/korona-cloud-client/api/accounts_api.rb
|