recurly 3.17.0 → 3.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +14 -2
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/client/operations.rb +1 -1
- data/lib/recurly/requests/coupon_redemption_create.rb +4 -0
- data/lib/recurly/resources/coupon_redemption.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +9 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f73605b156b9fb01202aa7e645dc1b63425d93bd313066df8b15906e50c36bb6
|
4
|
+
data.tar.gz: 4cd5071da40d218c08ddda384f8e6a2038c20d40d8b272899412d53cddf432ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 465e7e473d60a4c6c158bd3a373146f218da96b3dc39f07e2d844d90c0e83a68ed554f61885df1283546d17c3b56eeb537b23aea9365282e94aa99f52eae6104
|
7
|
+
data.tar.gz: 51cde06f4c57df5d30aa5300e68497f7ea233257f77b1ee1a3900c43bd0a74e1abfd9511412f138dfcad5a7e0e93a154789fa55bd9f68f1e0586aa1cd2cc022c
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [3.
|
3
|
+
## [3.18.0](https://github.com/recurly/recurly-client-ruby/tree/HEAD)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.
|
5
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.17.0...HEAD)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Latest Changes for 2019-10-10 [\#660](https://github.com/recurly/recurly-client-ruby/pull/660) ([douglasmiller](https://github.com/douglasmiller))
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Release 3.18.0 [\#661](https://github.com/recurly/recurly-client-ruby/pull/661) ([douglasmiller](https://github.com/douglasmiller))
|
14
|
+
|
15
|
+
## [3.17.0](https://github.com/recurly/recurly-client-ruby/tree/3.17.0) (2020-12-08)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.16.0...3.17.0)
|
6
18
|
|
7
19
|
**Implemented enhancements:**
|
8
20
|
|
data/GETTING_STARTED.md
CHANGED
@@ -5,7 +5,7 @@ This repository houses the official ruby client for Recurly's V3 API.
|
|
5
5
|
In your Gemfile, add `recurly` as a dependency.
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem 'recurly', '~> 3.
|
8
|
+
gem 'recurly', '~> 3.18'
|
9
9
|
```
|
10
10
|
|
11
11
|
> *Note*: We try to follow [semantic versioning](https://semver.org/) and will only apply breaking changes to major versions.
|
@@ -609,7 +609,7 @@ module Recurly
|
|
609
609
|
get(path, **options)
|
610
610
|
end
|
611
611
|
|
612
|
-
# Generate an active coupon redemption on an account
|
612
|
+
# Generate an active coupon redemption on an account or subscription
|
613
613
|
#
|
614
614
|
# {https://developers.recurly.com/api/v2019-10-10#operation/create_coupon_redemption create_coupon_redemption api documenation}
|
615
615
|
#
|
@@ -13,6 +13,10 @@ module Recurly
|
|
13
13
|
# @!attribute currency
|
14
14
|
# @return [String] 3-letter ISO 4217 currency code.
|
15
15
|
define_attribute :currency, String
|
16
|
+
|
17
|
+
# @!attribute subscription_id
|
18
|
+
# @return [String] Subscription ID
|
19
|
+
define_attribute :subscription_id, String
|
16
20
|
end
|
17
21
|
end
|
18
22
|
end
|
@@ -42,6 +42,10 @@ module Recurly
|
|
42
42
|
# @return [String] Coupon Redemption state
|
43
43
|
define_attribute :state, String
|
44
44
|
|
45
|
+
# @!attribute subscription_id
|
46
|
+
# @return [String] Subscription ID
|
47
|
+
define_attribute :subscription_id, String
|
48
|
+
|
45
49
|
# @!attribute updated_at
|
46
50
|
# @return [DateTime] Last updated at
|
47
51
|
define_attribute :updated_at, DateTime
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -275,8 +275,8 @@ tags:
|
|
275
275
|
allow for individual delivery and tracking.
|
276
276
|
- name: coupon_redemption
|
277
277
|
x-displayName: Coupon Redemption
|
278
|
-
description: Coupon redemptions are created when a coupon is applied to an account
|
279
|
-
This allows you to track your promotions.
|
278
|
+
description: Coupon redemptions are created when a coupon is applied to an account
|
279
|
+
or subscription. This allows you to track your promotions.
|
280
280
|
- name: unique_coupon_code
|
281
281
|
x-displayName: Unique Coupon Code
|
282
282
|
description: Unique coupon codes are generated from bulk coupons.
|
@@ -2672,7 +2672,7 @@ paths:
|
|
2672
2672
|
- account
|
2673
2673
|
- coupon_redemption
|
2674
2674
|
operationId: create_coupon_redemption
|
2675
|
-
summary: Generate an active coupon redemption on an account
|
2675
|
+
summary: Generate an active coupon redemption on an account or subscription
|
2676
2676
|
parameters:
|
2677
2677
|
- "$ref": "#/components/parameters/site_id"
|
2678
2678
|
- "$ref": "#/components/parameters/account_id"
|
@@ -16711,6 +16711,9 @@ components:
|
|
16711
16711
|
description: The Account on which the coupon was applied.
|
16712
16712
|
readOnly: true
|
16713
16713
|
"$ref": "#/components/schemas/AccountMini"
|
16714
|
+
subscription_id:
|
16715
|
+
type: string
|
16716
|
+
title: Subscription ID
|
16714
16717
|
coupon:
|
16715
16718
|
"$ref": "#/components/schemas/Coupon"
|
16716
16719
|
state:
|
@@ -16758,6 +16761,9 @@ components:
|
|
16758
16761
|
title: Currency
|
16759
16762
|
description: 3-letter ISO 4217 currency code.
|
16760
16763
|
maxLength: 3
|
16764
|
+
subscription_id:
|
16765
|
+
type: string
|
16766
|
+
title: Subscription ID
|
16761
16767
|
required:
|
16762
16768
|
- coupon_id
|
16763
16769
|
CouponRedemptionMini:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recurly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Recurly
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -293,7 +293,7 @@ metadata:
|
|
293
293
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
294
294
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
295
295
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
296
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
296
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.18.0
|
297
297
|
post_install_message:
|
298
298
|
rdoc_options: []
|
299
299
|
require_paths:
|