ultracart_api 3.6.23 → 3.6.33
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -5
- data/docs/CouponResponse.md +1 -0
- data/lib/ultracart_api/models/coupon_response.rb +13 -1
- data/lib/ultracart_api/version.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: 78d767703384b231b7f3f83c12855cfbe21e46b37982cf9eb9a504b0148e8895
|
4
|
+
data.tar.gz: be4f6fffdab4748cfe2c2507723172f2eee93d185d5264a45ed4f1e72f3724d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 857852675cb2fcf98643fa4383e261084d78016bca39ef709f78a0fd2432e7d80fededb91534ca0d6f794552116cc4217e6946c7668f87b77612c8b7422979b3
|
7
|
+
data.tar.gz: 65680ff7d5465a3a83093d19ef46ad7814cca4fee519c31712ed89ffccb322332ea89e33eb450cd9c9c5d55bfe4ee67c184c3103acf1c676652f27e9467349d7
|
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.6.
|
10
|
+
- Package version: 3.6.33
|
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.6.
|
27
|
+
gem install ./ultracart_api-3.6.33.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.6.33.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.6.
|
35
|
+
gem 'ultracart_api', '~> 3.6.33'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1127,7 +1127,11 @@ Class | Method | HTTP request | Description
|
|
1127
1127
|
Not every change is committed to every SDK.
|
1128
1128
|
|
1129
1129
|
| Version | Date | Comments |
|
1130
|
-
| --: | :-: | --- |
|
1130
|
+
| --: | :-: | --- |
|
1131
|
+
| 3.6.33 | 12/13/2021 | automation testing |
|
1132
|
+
| 3.6.32 | 12/10/2021 | testing automation - message 4 |
|
1133
|
+
| 3.6.25 | 12/06/2021 | sdk automation testing. no changes to actual sdk |
|
1134
|
+
| 3.6.24 | 11/30/2021 | return items_invalid_for_coupons for CouponResponse object to drive UI warnings |
|
1131
1135
|
| 3.6.23 | 11/29/2021 | Item auto order prohibit cards that expire in months setting. |
|
1132
1136
|
| 3.6.22 | 11/23/2021 | new storefront methods for twilio configuration |
|
1133
1137
|
| 3.6.21 | 11/08/2021 | item shipping distribution center level CostOfGoodsSold |
|
data/docs/CouponResponse.md
CHANGED
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**coupon** | [**Coupon**](Coupon.md) | | [optional]
|
7
7
|
**error** | [**Error**](Error.md) | | [optional]
|
8
|
+
**items_invalid_for_coupons** | **Array<String>** | Items invalid for coupons. These will display as warnings within the UI. | [optional]
|
8
9
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
9
10
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
10
11
|
**warning** | [**Warning**](Warning.md) | | [optional]
|
@@ -18,6 +18,9 @@ module UltracartClient
|
|
18
18
|
|
19
19
|
attr_accessor :error
|
20
20
|
|
21
|
+
# Items invalid for coupons. These will display as warnings within the UI.
|
22
|
+
attr_accessor :items_invalid_for_coupons
|
23
|
+
|
21
24
|
attr_accessor :metadata
|
22
25
|
|
23
26
|
# Indicates if API call was successful
|
@@ -30,6 +33,7 @@ module UltracartClient
|
|
30
33
|
{
|
31
34
|
:'coupon' => :'coupon',
|
32
35
|
:'error' => :'error',
|
36
|
+
:'items_invalid_for_coupons' => :'items_invalid_for_coupons',
|
33
37
|
:'metadata' => :'metadata',
|
34
38
|
:'success' => :'success',
|
35
39
|
:'warning' => :'warning'
|
@@ -41,6 +45,7 @@ module UltracartClient
|
|
41
45
|
{
|
42
46
|
:'coupon' => :'Coupon',
|
43
47
|
:'error' => :'Error',
|
48
|
+
:'items_invalid_for_coupons' => :'Array<String>',
|
44
49
|
:'metadata' => :'ResponseMetadata',
|
45
50
|
:'success' => :'BOOLEAN',
|
46
51
|
:'warning' => :'Warning'
|
@@ -63,6 +68,12 @@ module UltracartClient
|
|
63
68
|
self.error = attributes[:'error']
|
64
69
|
end
|
65
70
|
|
71
|
+
if attributes.has_key?(:'items_invalid_for_coupons')
|
72
|
+
if (value = attributes[:'items_invalid_for_coupons']).is_a?(Array)
|
73
|
+
self.items_invalid_for_coupons = value
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
66
77
|
if attributes.has_key?(:'metadata')
|
67
78
|
self.metadata = attributes[:'metadata']
|
68
79
|
end
|
@@ -96,6 +107,7 @@ module UltracartClient
|
|
96
107
|
self.class == o.class &&
|
97
108
|
coupon == o.coupon &&
|
98
109
|
error == o.error &&
|
110
|
+
items_invalid_for_coupons == o.items_invalid_for_coupons &&
|
99
111
|
metadata == o.metadata &&
|
100
112
|
success == o.success &&
|
101
113
|
warning == o.warning
|
@@ -110,7 +122,7 @@ module UltracartClient
|
|
110
122
|
# Calculates hash code according to all attributes.
|
111
123
|
# @return [Fixnum] Hash code
|
112
124
|
def hash
|
113
|
-
[coupon, error, metadata, success, warning].hash
|
125
|
+
[coupon, error, items_invalid_for_coupons, metadata, success, warning].hash
|
114
126
|
end
|
115
127
|
|
116
128
|
# Builds the object from hash
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultracart_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.33
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|