recurly 3.5.0 → 3.10.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 +5 -1
- data/CHANGELOG.md +73 -2
- data/GETTING_STARTED.md +61 -1
- data/lib/recurly/client.rb +79 -26
- data/lib/recurly/client/operations.rb +662 -57
- data/lib/recurly/errors/api_errors.rb +59 -17
- data/lib/recurly/requests/add_on_create.rb +24 -4
- data/lib/recurly/requests/add_on_update.rb +13 -1
- data/lib/recurly/requests/billing_info_create.rb +11 -3
- data/lib/recurly/requests/external_transaction.rb +26 -0
- data/lib/recurly/requests/measured_unit_create.rb +22 -0
- data/lib/recurly/requests/measured_unit_update.rb +22 -0
- data/lib/recurly/requests/plan_create.rb +8 -0
- data/lib/recurly/requests/plan_update.rb +8 -0
- data/lib/recurly/requests/shipping_method_create.rb +26 -0
- data/lib/recurly/requests/shipping_method_update.rb +26 -0
- data/lib/recurly/requests/subscription_add_on_create.rb +10 -2
- data/lib/recurly/requests/subscription_add_on_update.rb +11 -3
- data/lib/recurly/requests/subscription_change_create.rb +1 -1
- data/lib/recurly/requests/subscription_purchase.rb +4 -0
- data/lib/recurly/requests/usage_create.rb +26 -0
- data/lib/recurly/resources/add_on.rb +16 -0
- data/lib/recurly/resources/add_on_mini.rb +16 -0
- data/lib/recurly/resources/line_item.rb +1 -1
- data/lib/recurly/resources/measured_unit.rb +46 -0
- data/lib/recurly/resources/payment_method.rb +4 -0
- data/lib/recurly/resources/plan.rb +8 -0
- data/lib/recurly/resources/shipping_method.rb +4 -0
- data/lib/recurly/resources/subscription_add_on.rb +13 -1
- data/lib/recurly/resources/subscription_change.rb +4 -0
- data/lib/recurly/resources/subscription_change_preview.rb +74 -0
- data/lib/recurly/resources/transaction.rb +4 -0
- data/lib/recurly/resources/usage.rb +62 -0
- data/lib/recurly/version.rb +1 -1
- data/openapi/api.yaml +6242 -2891
- data/recurly.gemspec +1 -1
- data/scripts/format +5 -1
- metadata +13 -4
data/recurly.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.metadata = {
|
18
18
|
"bug_tracker_uri" => "#{spec.homepage}/issues",
|
19
19
|
"changelog_uri" => "#{spec.homepage}/blob/master/CHANGELOG.md",
|
20
|
-
"documentation_uri" => "https://
|
20
|
+
"documentation_uri" => "https://recurly.github.io/recurly-client-ruby/",
|
21
21
|
"homepage_uri" => spec.homepage,
|
22
22
|
"source_code_uri" => "#{spec.homepage}/tree/#{spec.version}",
|
23
23
|
}
|
data/scripts/format
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
|
-
set -e
|
3
2
|
|
4
3
|
if [ "$1" == "--check" ]; then
|
5
4
|
./bin/rufo . --check
|
5
|
+
RESULT=$?
|
6
|
+
if [ $RESULT != 0 ]; then
|
7
|
+
echo "Code is not properly formatted. Please execute ./scripts/format to autoformat the code."
|
8
|
+
exit $RESULT
|
9
|
+
fi
|
6
10
|
else
|
7
11
|
./bin/rufo . -x
|
8
12
|
fi
|
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.10.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-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -161,6 +161,7 @@ files:
|
|
161
161
|
- lib/recurly/requests/coupon_update.rb
|
162
162
|
- lib/recurly/requests/custom_field.rb
|
163
163
|
- lib/recurly/requests/external_refund.rb
|
164
|
+
- lib/recurly/requests/external_transaction.rb
|
164
165
|
- lib/recurly/requests/invoice_address.rb
|
165
166
|
- lib/recurly/requests/invoice_collect.rb
|
166
167
|
- lib/recurly/requests/invoice_create.rb
|
@@ -170,6 +171,8 @@ files:
|
|
170
171
|
- lib/recurly/requests/item_update.rb
|
171
172
|
- lib/recurly/requests/line_item_create.rb
|
172
173
|
- lib/recurly/requests/line_item_refund.rb
|
174
|
+
- lib/recurly/requests/measured_unit_create.rb
|
175
|
+
- lib/recurly/requests/measured_unit_update.rb
|
173
176
|
- lib/recurly/requests/plan_create.rb
|
174
177
|
- lib/recurly/requests/plan_hosted_pages.rb
|
175
178
|
- lib/recurly/requests/plan_pricing.rb
|
@@ -179,6 +182,8 @@ files:
|
|
179
182
|
- lib/recurly/requests/shipping_address_create.rb
|
180
183
|
- lib/recurly/requests/shipping_address_update.rb
|
181
184
|
- lib/recurly/requests/shipping_fee_create.rb
|
185
|
+
- lib/recurly/requests/shipping_method_create.rb
|
186
|
+
- lib/recurly/requests/shipping_method_update.rb
|
182
187
|
- lib/recurly/requests/shipping_purchase.rb
|
183
188
|
- lib/recurly/requests/subscription_add_on_create.rb
|
184
189
|
- lib/recurly/requests/subscription_add_on_tier.rb
|
@@ -194,6 +199,7 @@ files:
|
|
194
199
|
- lib/recurly/requests/subscription_shipping_update.rb
|
195
200
|
- lib/recurly/requests/subscription_update.rb
|
196
201
|
- lib/recurly/requests/tier.rb
|
202
|
+
- lib/recurly/requests/usage_create.rb
|
197
203
|
- lib/recurly/resource.rb
|
198
204
|
- lib/recurly/resources.rb
|
199
205
|
- lib/recurly/resources/account.rb
|
@@ -231,6 +237,7 @@ files:
|
|
231
237
|
- lib/recurly/resources/item_mini.rb
|
232
238
|
- lib/recurly/resources/line_item.rb
|
233
239
|
- lib/recurly/resources/line_item_list.rb
|
240
|
+
- lib/recurly/resources/measured_unit.rb
|
234
241
|
- lib/recurly/resources/payment_method.rb
|
235
242
|
- lib/recurly/resources/plan.rb
|
236
243
|
- lib/recurly/resources/plan_hosted_pages.rb
|
@@ -246,6 +253,7 @@ files:
|
|
246
253
|
- lib/recurly/resources/subscription_add_on.rb
|
247
254
|
- lib/recurly/resources/subscription_add_on_tier.rb
|
248
255
|
- lib/recurly/resources/subscription_change.rb
|
256
|
+
- lib/recurly/resources/subscription_change_preview.rb
|
249
257
|
- lib/recurly/resources/subscription_shipping.rb
|
250
258
|
- lib/recurly/resources/tax_info.rb
|
251
259
|
- lib/recurly/resources/tier.rb
|
@@ -253,6 +261,7 @@ files:
|
|
253
261
|
- lib/recurly/resources/transaction_error.rb
|
254
262
|
- lib/recurly/resources/transaction_payment_gateway.rb
|
255
263
|
- lib/recurly/resources/unique_coupon_code.rb
|
264
|
+
- lib/recurly/resources/usage.rb
|
256
265
|
- lib/recurly/resources/user.rb
|
257
266
|
- lib/recurly/schema.rb
|
258
267
|
- lib/recurly/schema/file_parser.rb
|
@@ -278,9 +287,9 @@ licenses:
|
|
278
287
|
metadata:
|
279
288
|
bug_tracker_uri: https://github.com/recurly/recurly-client-ruby/issues
|
280
289
|
changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
|
281
|
-
documentation_uri: https://
|
290
|
+
documentation_uri: https://recurly.github.io/recurly-client-ruby/
|
282
291
|
homepage_uri: https://github.com/recurly/recurly-client-ruby
|
283
|
-
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.
|
292
|
+
source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.10.0
|
284
293
|
post_install_message:
|
285
294
|
rdoc_options: []
|
286
295
|
require_paths:
|