ultracart_api 3.6.11 → 3.6.12
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 +6 -5
- data/docs/CouponApi.md +1 -1
- data/lib/ultracart_api/api/coupon_api.rb +1 -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: 22efbc4bc422d8b317a9ed60daac0d735bd735c15222f8df400fef7ebb01becf
|
|
4
|
+
data.tar.gz: b4f31c81f15f39ecda503b6839716b8b0efb63c3528695d710e06d771b73cbd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ef2f74a59db7dcc5fbb458497eec65caf9935aa47342303953d2ccae786674aa8547432bff367fd01c6413f177bbdbd1e5c2ef70885e0652d46ba4c4513f141
|
|
7
|
+
data.tar.gz: 06d504d3e87c24f92e3df4d0f1b1525fe20c33dad34e3819501bff442140866f6787e4732c3ee3952d4eb267c7486ea725b47de8753a9bb9b6bdf1bd907cf33a
|
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.12
|
|
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.12.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.12.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.12'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -145,7 +145,7 @@ Class | Method | HTTP request | Description
|
|
|
145
145
|
*UltracartClient::CouponApi* | [**get_coupon**](docs/CouponApi.md#get_coupon) | **GET** /coupon/coupons/{coupon_oid} | Retrieve a coupon
|
|
146
146
|
*UltracartClient::CouponApi* | [**get_coupon_by_merchant_code**](docs/CouponApi.md#get_coupon_by_merchant_code) | **GET** /coupon/coupons/merchant_code/{merchant_code} | Retrieve a coupon by merchant code
|
|
147
147
|
*UltracartClient::CouponApi* | [**get_coupons**](docs/CouponApi.md#get_coupons) | **GET** /coupon/coupons | Retrieve coupons
|
|
148
|
-
*UltracartClient::CouponApi* | [**get_coupons_by_query**](docs/CouponApi.md#get_coupons_by_query) | **
|
|
148
|
+
*UltracartClient::CouponApi* | [**get_coupons_by_query**](docs/CouponApi.md#get_coupons_by_query) | **POST** /coupon/coupons/query | Retrieve coupons by query
|
|
149
149
|
*UltracartClient::CouponApi* | [**get_editor_values**](docs/CouponApi.md#get_editor_values) | **GET** /coupon/editor_values | Retrieve values needed for a coupon editor
|
|
150
150
|
*UltracartClient::CouponApi* | [**insert_coupon**](docs/CouponApi.md#insert_coupon) | **POST** /coupon/coupons | Insert a coupon
|
|
151
151
|
*UltracartClient::CouponApi* | [**insert_coupons**](docs/CouponApi.md#insert_coupons) | **POST** /coupon/coupons/batch | Insert multiple coupons
|
|
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
|
|
|
1118
1118
|
|
|
1119
1119
|
| Version | Date | Comments |
|
|
1120
1120
|
| --: | :-: | --- |
|
|
1121
|
+
| 3.6.12 | 09/20/2021 | fix method for getCouponsByQuery to be POST instead of GET since it uses a JSON body |
|
|
1121
1122
|
| 3.6.11 | 09/13/2021 | fix for CouponApi, broke due to inadvertent parameter inclusion |
|
|
1122
1123
|
| 3.6.10 | 09/09/2021 | added constants for Google Shopping payment method (still in development) |
|
|
1123
1124
|
| 3.6.9 | 09/07/2021 | customer profile editor values have new list of state optional countries |
|
data/docs/CouponApi.md
CHANGED
|
@@ -14,7 +14,7 @@ Method | HTTP request | Description
|
|
|
14
14
|
[**get_coupon**](CouponApi.md#get_coupon) | **GET** /coupon/coupons/{coupon_oid} | Retrieve a coupon
|
|
15
15
|
[**get_coupon_by_merchant_code**](CouponApi.md#get_coupon_by_merchant_code) | **GET** /coupon/coupons/merchant_code/{merchant_code} | Retrieve a coupon by merchant code
|
|
16
16
|
[**get_coupons**](CouponApi.md#get_coupons) | **GET** /coupon/coupons | Retrieve coupons
|
|
17
|
-
[**get_coupons_by_query**](CouponApi.md#get_coupons_by_query) | **
|
|
17
|
+
[**get_coupons_by_query**](CouponApi.md#get_coupons_by_query) | **POST** /coupon/coupons/query | Retrieve coupons by query
|
|
18
18
|
[**get_editor_values**](CouponApi.md#get_editor_values) | **GET** /coupon/editor_values | Retrieve values needed for a coupon editor
|
|
19
19
|
[**insert_coupon**](CouponApi.md#insert_coupon) | **POST** /coupon/coupons | Insert a coupon
|
|
20
20
|
[**insert_coupons**](CouponApi.md#insert_coupons) | **POST** /coupon/coupons/batch | Insert multiple coupons
|
|
@@ -679,7 +679,7 @@ module UltracartClient
|
|
|
679
679
|
# http body (model)
|
|
680
680
|
post_body = @api_client.object_to_http_body(coupon_query)
|
|
681
681
|
auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
|
|
682
|
-
data, status_code, headers = @api_client.call_api(:
|
|
682
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
|
683
683
|
:header_params => header_params,
|
|
684
684
|
:query_params => query_params,
|
|
685
685
|
:form_params => form_params,
|
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.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|