ultracart_api 4.0.83.rc → 4.0.84.rc
Sign up to get free protection for your applications and to get access to all the features.
- 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: 57c231a3321c5d37523a15e99a323a14016a1267e0fb0e4bda7dca5c5db1d4f2
|
4
|
+
data.tar.gz: 55406f0fc39b7582e8c6ec4ad9854fdd06a8d4041b70c29612e3de89ee11739e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85e543e40655a11eb924433b85b6935af87d3f1e1b063fa81566f60bd4724419d9b721cb11b9a4a42ba28da046aaf47a0c32471cd9eb3ccc39aacb8511722068
|
7
|
+
data.tar.gz: a9bf8a04d2651f48c4f5f825bc2fa7c3b90fc0b5fdbd2ef2f923ce318b9d42fa0a1c775536479980de710a3a02f7189d7310638dcb4aa3e348176b93ee4062bc
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.84.rc
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.84.rc.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.84.rc.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.84.rc'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -1226,6 +1226,7 @@ Not every change is committed to every SDK.
|
|
1226
1226
|
|
1227
1227
|
| Version | Date | Comments |
|
1228
1228
|
| --: | :-: | --- |
|
1229
|
+
| 4.0.84-RC | 11/15/2022 | conversation methods bug fix |
|
1229
1230
|
| 4.0.83-RC | 11/15/2022 | conversations - enw events for add coupon and items |
|
1230
1231
|
| 4.0.82-RC | 11/15/2022 | order api new method is order refundable |
|
1231
1232
|
| 4.0.81-RC | 11/15/2022 | increase order property length to 10k char |
|
@@ -98,8 +98,8 @@ module UltracartClient
|
|
98
98
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 100.')
|
99
99
|
end
|
100
100
|
|
101
|
-
if !@value.nil? && @value.to_s.length >
|
102
|
-
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to
|
101
|
+
if !@value.nil? && @value.to_s.length > 5000
|
102
|
+
invalid_properties.push('invalid value for "value", the character length must be smaller than or equal to 5000.')
|
103
103
|
end
|
104
104
|
|
105
105
|
invalid_properties
|
@@ -109,7 +109,7 @@ module UltracartClient
|
|
109
109
|
# @return true if the model is valid
|
110
110
|
def valid?
|
111
111
|
return false if !@name.nil? && @name.to_s.length > 100
|
112
|
-
return false if !@value.nil? && @value.to_s.length >
|
112
|
+
return false if !@value.nil? && @value.to_s.length > 5000
|
113
113
|
true
|
114
114
|
end
|
115
115
|
|
@@ -126,8 +126,8 @@ module UltracartClient
|
|
126
126
|
# Custom attribute writer method with validation
|
127
127
|
# @param [Object] value Value to be assigned
|
128
128
|
def value=(value)
|
129
|
-
if !value.nil? && value.to_s.length >
|
130
|
-
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to
|
129
|
+
if !value.nil? && value.to_s.length > 5000
|
130
|
+
fail ArgumentError, 'invalid value for "value", the character length must be smaller than or equal to 5000.'
|
131
131
|
end
|
132
132
|
|
133
133
|
@value = value
|