recurly 3.8.0 → 3.9.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/requests/subscription_add_on_create.rb +1 -1
- data/lib/recurly/requests/subscription_add_on_update.rb +5 -1
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +24 -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: c78adbb9e018c19c91b8e026154020e76d7fff8e7ebc9baf607fadec225fb098
|
4
|
+
data.tar.gz: d7b030ca1ac7685f7e64cc0dfebd004e2d8d80e5a09d302a4c5c19eeff5ccc5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1e5228bcb2376263a5c295bb848742961f36859f5b4f473bbbcada42b3ade93ef92630087cf9cedf008e1abd92a89bfcc937cd780ef5ecefb23603ad2c87c28
|
7
|
+
data.tar.gz: 915f88d6ef1e03e955d3e45d46920993c4f08a04539fde04d879d6d7a39c9cf6049d36e3a1c0fe570269e999006dc03e94546b708ce6474a5e935108e2aa5017
|
data/.bumpversion.cfg
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [3.
|
3
|
+
## [3.9.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.8.0...HEAD)
|
6
|
+
|
7
|
+
**Implemented enhancements:**
|
8
|
+
|
9
|
+
- Mon Jul 6 14:48:05 UTC 2020 Upgrade API version v2019-10-10 [\#608](https://github.com/recurly/recurly-client-ruby/pull/608) ([douglasmiller](https://github.com/douglasmiller))
|
10
|
+
|
11
|
+
**Merged pull requests:**
|
12
|
+
|
13
|
+
- Release 3.9.0 [\#609](https://github.com/recurly/recurly-client-ruby/pull/609) ([douglasmiller](https://github.com/douglasmiller))
|
14
|
+
|
15
|
+
## [3.8.0](https://github.com/recurly/recurly-client-ruby/tree/3.8.0) (2020-07-01)
|
16
|
+
|
17
|
+
[Full Changelog](https://github.com/recurly/recurly-client-ruby/compare/3.7.0...3.8.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.9'
|
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.
|
@@ -11,7 +11,7 @@ module Recurly
|
|
11
11
|
define_attribute :add_on_source, String
|
12
12
|
|
13
13
|
# @!attribute code
|
14
|
-
# @return [String]
|
14
|
+
# @return [String] If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used. If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
|
15
15
|
define_attribute :code, String
|
16
16
|
|
17
17
|
# @!attribute quantity
|
@@ -6,8 +6,12 @@ module Recurly
|
|
6
6
|
module Requests
|
7
7
|
class SubscriptionAddOnUpdate < Request
|
8
8
|
|
9
|
+
# @!attribute add_on_source
|
10
|
+
# @return [String] Used to determine where the associated add-on data is pulled from. If this value is set to `plan_add_on` or left blank, then add_on data will be pulled from the plan's add-ons. If the associated `plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then the associated add-on data will be pulled from the site's item catalog.
|
11
|
+
define_attribute :add_on_source, String
|
12
|
+
|
9
13
|
# @!attribute code
|
10
|
-
# @return [String] If a code is provided without an id, the subscription add-on attributes will be set to the current value for those attributes on the plan add-on unless provided in the request.
|
14
|
+
# @return [String] If a code is provided without an id, the subscription add-on attributes will be set to the current value for those attributes on the plan add-on unless provided in the request. If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used. If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
|
11
15
|
define_attribute :code, String
|
12
16
|
|
13
17
|
# @!attribute id
|
data/lib/recurly/version.rb
CHANGED
data/openapi/api.yaml
CHANGED
@@ -17948,6 +17948,9 @@ components:
|
|
17948
17948
|
`plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
|
17949
17949
|
the associated add-on data will be pulled from the site's item catalog.
|
17950
17950
|
default: plan_add_on
|
17951
|
+
enum:
|
17952
|
+
- plan_add_on
|
17953
|
+
- item
|
17951
17954
|
quantity:
|
17952
17955
|
type: integer
|
17953
17956
|
title: Add-on quantity
|
@@ -18001,6 +18004,9 @@ components:
|
|
18001
18004
|
type: string
|
18002
18005
|
title: Add-on code
|
18003
18006
|
maxLength: 50
|
18007
|
+
description: |
|
18008
|
+
If `add_on_source` is set to `plan_add_on` or left blank, then plan's add-on `code` should be used.
|
18009
|
+
If `add_on_source` is set to `item`, then the `code` from the associated item should be used.
|
18004
18010
|
add_on_source:
|
18005
18011
|
type: string
|
18006
18012
|
title: Add-on source
|
@@ -18010,6 +18016,9 @@ components:
|
|
18010
18016
|
`plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
|
18011
18017
|
the associated add-on data will be pulled from the site's item catalog.
|
18012
18018
|
default: plan_add_on
|
18019
|
+
enum:
|
18020
|
+
- plan_add_on
|
18021
|
+
- item
|
18013
18022
|
quantity:
|
18014
18023
|
type: integer
|
18015
18024
|
title: Quantity
|
@@ -18061,7 +18070,21 @@ components:
|
|
18061
18070
|
description: |
|
18062
18071
|
If a code is provided without an id, the subscription add-on attributes
|
18063
18072
|
will be set to the current value for those attributes on the plan add-on
|
18064
|
-
unless provided in the request.
|
18073
|
+
unless provided in the request. If `add_on_source` is set to `plan_add_on`
|
18074
|
+
or left blank, then plan's add-on `code` should be used. If `add_on_source`
|
18075
|
+
is set to `item`, then the `code` from the associated item should be used.
|
18076
|
+
add_on_source:
|
18077
|
+
type: string
|
18078
|
+
title: Add-on source
|
18079
|
+
description: |
|
18080
|
+
Used to determine where the associated add-on data is pulled from. If this value is set to
|
18081
|
+
`plan_add_on` or left blank, then add_on data will be pulled from the plan's add-ons. If the associated
|
18082
|
+
`plan` has `allow_any_item_on_subscriptions` set to `true` and this field is set to `item`, then
|
18083
|
+
the associated add-on data will be pulled from the site's item catalog.
|
18084
|
+
default: plan_add_on
|
18085
|
+
enum:
|
18086
|
+
- plan_add_on
|
18087
|
+
- item
|
18065
18088
|
quantity:
|
18066
18089
|
type: integer
|
18067
18090
|
title: Quantity
|
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.9.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-07-
|
11
|
+
date: 2020-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -284,7 +284,7 @@ metadata:
|
|
284
284
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
285
285
|
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
286
286
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
287
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
287
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.9.0
|
288
288
|
post_install_message:
|
289
289
|
rdoc_options: []
|
290
290
|
require_paths:
|