recurly 4.12.0 → 4.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/.bumpversion.cfg +1 -1
  3. data/CHANGELOG.md +34 -0
  4. data/GETTING_STARTED.md +9 -1
  5. data/lib/recurly/client/operations.rb +209 -136
  6. data/lib/recurly/client.rb +14 -2
  7. data/lib/recurly/errors/api_errors.rb +2 -0
  8. data/lib/recurly/requests/account_create.rb +1 -1
  9. data/lib/recurly/requests/account_purchase.rb +1 -1
  10. data/lib/recurly/requests/account_update.rb +1 -1
  11. data/lib/recurly/requests/add_on_create.rb +5 -1
  12. data/lib/recurly/requests/add_on_update.rb +5 -1
  13. data/lib/recurly/requests/billing_info_create.rb +8 -0
  14. data/lib/recurly/requests/percentage_tier.rb +18 -0
  15. data/lib/recurly/requests/percentage_tiers_by_currency.rb +18 -0
  16. data/lib/recurly/requests/plan_create.rb +1 -1
  17. data/lib/recurly/requests/plan_update.rb +1 -1
  18. data/lib/recurly/requests/subscription_add_on_create.rb +5 -1
  19. data/lib/recurly/requests/subscription_add_on_percentage_tier.rb +18 -0
  20. data/lib/recurly/requests/subscription_add_on_tier.rb +1 -1
  21. data/lib/recurly/requests/subscription_update.rb +1 -1
  22. data/lib/recurly/requests/tier.rb +2 -2
  23. data/lib/recurly/resources/account.rb +4 -4
  24. data/lib/recurly/resources/account_mini.rb +1 -1
  25. data/lib/recurly/resources/add_on.rb +4 -0
  26. data/lib/recurly/resources/invoice.rb +5 -1
  27. data/lib/recurly/resources/invoice_template.rb +34 -0
  28. data/lib/recurly/resources/percentage_tier.rb +18 -0
  29. data/lib/recurly/resources/{account_invoice_template.rb → percentage_tiers_by_currency.rb} +7 -7
  30. data/lib/recurly/resources/plan.rb +1 -1
  31. data/lib/recurly/resources/subscription_add_on.rb +5 -1
  32. data/lib/recurly/resources/subscription_add_on_percentage_tier.rb +18 -0
  33. data/lib/recurly/resources/subscription_add_on_tier.rb +1 -1
  34. data/lib/recurly/resources/tier.rb +2 -2
  35. data/lib/recurly/resources/usage.rb +5 -1
  36. data/lib/recurly/version.rb +1 -1
  37. data/openapi/api.yaml +552 -71
  38. metadata +10 -4
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: 4.12.0
4
+ version: 4.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-28 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -176,6 +176,8 @@ files:
176
176
  - lib/recurly/requests/line_item_refund.rb
177
177
  - lib/recurly/requests/measured_unit_create.rb
178
178
  - lib/recurly/requests/measured_unit_update.rb
179
+ - lib/recurly/requests/percentage_tier.rb
180
+ - lib/recurly/requests/percentage_tiers_by_currency.rb
179
181
  - lib/recurly/requests/plan_create.rb
180
182
  - lib/recurly/requests/plan_hosted_pages.rb
181
183
  - lib/recurly/requests/plan_pricing.rb
@@ -189,6 +191,7 @@ files:
189
191
  - lib/recurly/requests/shipping_method_update.rb
190
192
  - lib/recurly/requests/shipping_purchase.rb
191
193
  - lib/recurly/requests/subscription_add_on_create.rb
194
+ - lib/recurly/requests/subscription_add_on_percentage_tier.rb
192
195
  - lib/recurly/requests/subscription_add_on_tier.rb
193
196
  - lib/recurly/requests/subscription_add_on_update.rb
194
197
  - lib/recurly/requests/subscription_cancel.rb
@@ -212,7 +215,6 @@ files:
212
215
  - lib/recurly/resources/account_acquisition_cost.rb
213
216
  - lib/recurly/resources/account_balance.rb
214
217
  - lib/recurly/resources/account_balance_amount.rb
215
- - lib/recurly/resources/account_invoice_template.rb
216
218
  - lib/recurly/resources/account_mini.rb
217
219
  - lib/recurly/resources/account_note.rb
218
220
  - lib/recurly/resources/add_on.rb
@@ -247,11 +249,14 @@ files:
247
249
  - lib/recurly/resources/invoice_address.rb
248
250
  - lib/recurly/resources/invoice_collection.rb
249
251
  - lib/recurly/resources/invoice_mini.rb
252
+ - lib/recurly/resources/invoice_template.rb
250
253
  - lib/recurly/resources/item.rb
251
254
  - lib/recurly/resources/item_mini.rb
252
255
  - lib/recurly/resources/line_item.rb
253
256
  - lib/recurly/resources/measured_unit.rb
254
257
  - lib/recurly/resources/payment_method.rb
258
+ - lib/recurly/resources/percentage_tier.rb
259
+ - lib/recurly/resources/percentage_tiers_by_currency.rb
255
260
  - lib/recurly/resources/plan.rb
256
261
  - lib/recurly/resources/plan_hosted_pages.rb
257
262
  - lib/recurly/resources/plan_mini.rb
@@ -264,6 +269,7 @@ files:
264
269
  - lib/recurly/resources/site.rb
265
270
  - lib/recurly/resources/subscription.rb
266
271
  - lib/recurly/resources/subscription_add_on.rb
272
+ - lib/recurly/resources/subscription_add_on_percentage_tier.rb
267
273
  - lib/recurly/resources/subscription_add_on_tier.rb
268
274
  - lib/recurly/resources/subscription_change.rb
269
275
  - lib/recurly/resources/subscription_change_billing_info.rb
@@ -303,7 +309,7 @@ metadata:
303
309
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
304
310
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
305
311
  homepage_uri: https://github.com/recurly/recurly-client-ruby
306
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.12.0
312
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/4.15.0
307
313
  post_install_message:
308
314
  rdoc_options: []
309
315
  require_paths: