recurly 3.16.0 → 3.17.0
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/.bumpversion.cfg +1 -1
- data/CHANGELOG.md +14 -2
- data/GETTING_STARTED.md +1 -1
- data/lib/recurly/requests/purchase_create.rb +4 -0
- data/lib/recurly/requests/subscription_create.rb +4 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +15 -1
- 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: f97d96e89214fafeee901c7b806c8738f480078f69e5467b70d749b24d1bcd0e
|
|
4
|
+
data.tar.gz: 1e3049990bf828fa4bd2623713b73a4b52f10061e2efae38917dd9350b0ad436
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b93da2f0d336bd4a5029a8a9018fd8e70087417062f31c5e40d7968408a2ab284e9245523e90892fb9bc7e15846b57a6e531a1be9d0298c7e8e3b9fe1aee72c
|
|
7
|
+
data.tar.gz: 8350be352036521d91c1155f0ae23d3c2c73c0e31e188f51188b413b00cc744abb535b2ef7869859cda177e7928fd487d9f7c16aa4c866f2fac77fc734c4dcd7
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [3.
|
|
3
|
+
## [3.17.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.16.0...HEAD)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- Latest Changes for 2019-10-10 [\#657](https://github.com/recurly/recurly-client-ruby/pull/657) ([douglasmiller](https://github.com/douglasmiller))
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Release 3.17.0 [\#658](https://github.com/recurly/recurly-client-ruby/pull/658) ([douglasmiller](https://github.com/douglasmiller))
|
|
14
|
+
|
|
15
|
+
## [3.16.0](https://github.com/recurly/recurly-client-ruby/tree/3.16.0) (2020-11-24)
|
|
16
|
+
|
|
17
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.15.0...3.16.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.17'
|
|
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.
|
|
@@ -10,6 +10,10 @@ module Recurly
|
|
|
10
10
|
# @return [AccountPurchase]
|
|
11
11
|
define_attribute :account, :AccountPurchase
|
|
12
12
|
|
|
13
|
+
# @!attribute billing_info_id
|
|
14
|
+
# @return [String] The `billing_info_id` is the value that represents a specific billing info for an end customer. When `billing_info_id` is used to assign billing info to the subscription, all future billing events for the subscription will bill to the specified billing info.
|
|
15
|
+
define_attribute :billing_info_id, String
|
|
16
|
+
|
|
13
17
|
# @!attribute collection_method
|
|
14
18
|
# @return [String] Must be set to manual in order to preview a purchase for an Account that does not have payment information associated with the Billing Info.
|
|
15
19
|
define_attribute :collection_method, String
|
|
@@ -18,6 +18,10 @@ module Recurly
|
|
|
18
18
|
# @return [Boolean] Whether the subscription renews at the end of its term.
|
|
19
19
|
define_attribute :auto_renew, :Boolean
|
|
20
20
|
|
|
21
|
+
# @!attribute billing_info_id
|
|
22
|
+
# @return [String] The `billing_info_id` is the value that represents a specific billing info for an end customer. When `billing_info_id` is used to assign billing info to the subscription, all future billing events for the subscription will bill to the specified billing info.
|
|
23
|
+
define_attribute :billing_info_id, String
|
|
24
|
+
|
|
21
25
|
# @!attribute collection_method
|
|
22
26
|
# @return [String] Collection method
|
|
23
27
|
define_attribute :collection_method, String
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
|
@@ -15154,7 +15154,7 @@ components:
|
|
|
15154
15154
|
maxLength: 255
|
|
15155
15155
|
company:
|
|
15156
15156
|
type: string
|
|
15157
|
-
maxLength:
|
|
15157
|
+
maxLength: 100
|
|
15158
15158
|
vat_number:
|
|
15159
15159
|
type: string
|
|
15160
15160
|
description: The VAT number of the account (to avoid having the VAT applied).
|
|
@@ -20079,6 +20079,13 @@ components:
|
|
|
20079
20079
|
are provided the `plan_id` will be used.
|
|
20080
20080
|
account:
|
|
20081
20081
|
"$ref": "#/components/schemas/AccountCreate"
|
|
20082
|
+
billing_info_id:
|
|
20083
|
+
type: string
|
|
20084
|
+
title: Billing Info ID
|
|
20085
|
+
description: The `billing_info_id` is the value that represents a specific
|
|
20086
|
+
billing info for an end customer. When `billing_info_id` is used to assign
|
|
20087
|
+
billing info to the subscription, all future billing events for the subscription
|
|
20088
|
+
will bill to the specified billing info.
|
|
20082
20089
|
shipping:
|
|
20083
20090
|
title: Shipping address
|
|
20084
20091
|
description: Create a shipping address on the account and assign it to the
|
|
@@ -21012,6 +21019,13 @@ components:
|
|
|
21012
21019
|
maxLength: 3
|
|
21013
21020
|
account:
|
|
21014
21021
|
"$ref": "#/components/schemas/AccountPurchase"
|
|
21022
|
+
billing_info_id:
|
|
21023
|
+
type: string
|
|
21024
|
+
title: Billing info ID
|
|
21025
|
+
description: The `billing_info_id` is the value that represents a specific
|
|
21026
|
+
billing info for an end customer. When `billing_info_id` is used to assign
|
|
21027
|
+
billing info to the subscription, all future billing events for the subscription
|
|
21028
|
+
will bill to the specified billing info.
|
|
21015
21029
|
collection_method:
|
|
21016
21030
|
type: string
|
|
21017
21031
|
title: Collection method
|
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.17.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Recurly
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-12-08 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.17.0
|
|
297
297
|
post_install_message:
|
|
298
298
|
rdoc_options: []
|
|
299
299
|
require_paths:
|