ultracart_api 3.10.156 → 3.10.158
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e8132c184905005de8a5c2e27b6a27b6083c4161d382eb95227be5c9c0f6518
|
4
|
+
data.tar.gz: 496627357f5b5249b3a57314237176f9ef75ff43e91ea0fa1d7b158379a048a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d803672e42b45061591a99031b23f6406a607017fe5ba1b303fd8b9f5bcacaf237e01ef58416b398264b1d5898247f27e8da4ffc19bc94cb8544d20dffe2141b
|
7
|
+
data.tar.gz: eb6601e3af4e1b218057afc2794ac55ebbe21e96a3d092f8ba072a3b8c94fa324a4a0a76e8afc1876064bc975a3eae36369c989bec9f4181b28ed109ca2e181e
|
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.158
|
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.158.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.158.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.158'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1362,6 +1362,8 @@ Not every change is committed to every SDK.
|
|
1362
1362
|
|
1363
1363
|
| Version | Date | Comments |
|
1364
1364
|
| --: | :-: | --- |
|
1365
|
+
| 3.10.158 | 09/06/2023 | esp condition for survey trigger |
|
1366
|
+
| 3.10.157 | 09/05/2023 | auto order schedule - add intervals for 4 6 and 8 weeks |
|
1365
1367
|
| 3.10.156 | 08/31/2023 | new coupon - free item and free shipping with purchase |
|
1366
1368
|
| 3.10.155 | 08/16/2023 | added validate_original_order query param to auto order update method |
|
1367
1369
|
| 3.10.154 | 08/14/2023 | esp - add require_order_within_last to the settings object |
|
@@ -304,7 +304,7 @@ module UltracartClient
|
|
304
304
|
# Check to see if the all the properties in the model are valid
|
305
305
|
# @return true if the model is valid
|
306
306
|
def valid?
|
307
|
-
frequency_validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
307
|
+
frequency_validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
308
308
|
return false unless frequency_validator.valid?(@frequency)
|
309
309
|
true
|
310
310
|
end
|
@@ -312,7 +312,7 @@ module UltracartClient
|
|
312
312
|
# Custom attribute writer method checking allowed values (enum).
|
313
313
|
# @param [Object] frequency Object to be assigned
|
314
314
|
def frequency=(frequency)
|
315
|
-
validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
315
|
+
validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
316
316
|
unless validator.valid?(frequency)
|
317
317
|
fail ArgumentError, 'invalid value for "frequency", must be one of #{validator.allowable_values}.'
|
318
318
|
end
|
@@ -94,7 +94,7 @@ module UltracartClient
|
|
94
94
|
# Check to see if the all the properties in the model are valid
|
95
95
|
# @return true if the model is valid
|
96
96
|
def valid?
|
97
|
-
frequency_validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
97
|
+
frequency_validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
98
98
|
return false unless frequency_validator.valid?(@frequency)
|
99
99
|
true
|
100
100
|
end
|
@@ -102,7 +102,7 @@ module UltracartClient
|
|
102
102
|
# Custom attribute writer method checking allowed values (enum).
|
103
103
|
# @param [Object] frequency Object to be assigned
|
104
104
|
def frequency=(frequency)
|
105
|
-
validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
105
|
+
validator = EnumAttributeValidator.new('String', ['Weekly', 'Biweekly', 'Every...', 'Every 10 Days', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
106
106
|
unless validator.valid?(frequency)
|
107
107
|
fail ArgumentError, 'invalid value for "frequency", must be one of #{validator.allowable_values}.'
|
108
108
|
end
|
@@ -136,7 +136,7 @@ module UltracartClient
|
|
136
136
|
# Check to see if the all the properties in the model are valid
|
137
137
|
# @return true if the model is valid
|
138
138
|
def valid?
|
139
|
-
auto_order_schedule_validator = EnumAttributeValidator.new('String', ['Weekly', 'Every 10 Days', 'Biweekly', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
139
|
+
auto_order_schedule_validator = EnumAttributeValidator.new('String', ['Weekly', 'Every 10 Days', 'Biweekly', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
140
140
|
return false unless auto_order_schedule_validator.valid?(@auto_order_schedule)
|
141
141
|
return false if !@merchant_item_id.nil? && @merchant_item_id.to_s.length > 20
|
142
142
|
true
|
@@ -145,7 +145,7 @@ module UltracartClient
|
|
145
145
|
# Custom attribute writer method checking allowed values (enum).
|
146
146
|
# @param [Object] auto_order_schedule Object to be assigned
|
147
147
|
def auto_order_schedule=(auto_order_schedule)
|
148
|
-
validator = EnumAttributeValidator.new('String', ['Weekly', 'Every 10 Days', 'Biweekly', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly'])
|
148
|
+
validator = EnumAttributeValidator.new('String', ['Weekly', 'Every 10 Days', 'Biweekly', 'Every 24 Days', 'Every 28 Days', 'Monthly', 'Every 45 Days', 'Every 2 Months', 'Every 3 Months', 'Every 4 Months', 'Every 6 Months', 'Yearly', 'Every 4 Weeks', 'Every 6 Weeks', 'Every 8 Weeks'])
|
149
149
|
unless validator.valid?(auto_order_schedule)
|
150
150
|
fail ArgumentError, 'invalid value for "auto_order_schedule", must be one of #{validator.allowable_values}.'
|
151
151
|
end
|
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.10.
|
4
|
+
version: 3.10.158
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|