ultracart_api 3.10.66 → 3.10.67
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/README.md +5 -4
- data/lib/ultracart_api/models/order_property.rb +5 -5
- data/lib/ultracart_api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cd99056d1cc2ccd249f1b68f272737a016e18567aa22a93ed78909bf61b6302
|
|
4
|
+
data.tar.gz: fcc68320ca92c20e6423b8122af52ccb54f9a300358f2bd0fe94f0fb6366f3bd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ad83e934b3a4705718fc4906b8ecaa6214630a1c2030e3a588a866af4da3494e9c83d1bb21f7636994987dca8cb660ae1b11f004a61054982271cf1458a21ba
|
|
7
|
+
data.tar.gz: 194f95d200aff28dce57cbff57a0decc09d6280e3c69cba35b6a4f8e3582706dc2364c1dd4ece27d4cdac13efb71f6be14de039af94db836fbd0e0b51e654a0d
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 3.10.
|
|
10
|
+
- Package version: 3.10.67
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
|
13
13
|
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ultracart_api-3.10.
|
|
27
|
+
gem install ./ultracart_api-3.10.67.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.67.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'ultracart_api', '~> 3.10.
|
|
35
|
+
gem 'ultracart_api', '~> 3.10.67'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1217,6 +1217,7 @@ Not every change is committed to every SDK.
|
|
|
1217
1217
|
|
|
1218
1218
|
| Version | Date | Comments |
|
|
1219
1219
|
| --: | :-: | --- |
|
|
1220
|
+
| 3.10.67 | 11/15/2022 | conversation methods bug fix |
|
|
1220
1221
|
| 3.10.66 | 11/15/2022 | conversations - enw events for add coupon and items |
|
|
1221
1222
|
| 3.10.65 | 11/15/2022 | order api new method is order refundable |
|
|
1222
1223
|
| 3.10.64 | 11/15/2022 | increase order property length to 10k char |
|
|
@@ -79,8 +79,8 @@ module UltracartClient
|
|
|
79
79
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if !@value.nil? && @value.to_s.length >
|
|
83
|
-
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to
|
|
82
|
+
if !@value.nil? && @value.to_s.length > 5000
|
|
83
|
+
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 5000.')
|
|
84
84
|
end
|
|
85
85
|
|
|
86
86
|
invalid_properties
|
|
@@ -90,7 +90,7 @@ module UltracartClient
|
|
|
90
90
|
# @return true if the model is valid
|
|
91
91
|
def valid?
|
|
92
92
|
return false if !@name.nil? && @name.to_s.length > 100
|
|
93
|
-
return false if !@value.nil? && @value.to_s.length >
|
|
93
|
+
return false if !@value.nil? && @value.to_s.length > 5000
|
|
94
94
|
true
|
|
95
95
|
end
|
|
96
96
|
|
|
@@ -107,8 +107,8 @@ module UltracartClient
|
|
|
107
107
|
# Custom attribute writer method with validation
|
|
108
108
|
# @param [Object] value Value to be assigned
|
|
109
109
|
def value=(value)
|
|
110
|
-
if !value.nil? && value.to_s.length >
|
|
111
|
-
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to
|
|
110
|
+
if !value.nil? && value.to_s.length > 5000
|
|
111
|
+
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 5000.'
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
@value = value
|