recurly 3.9.0 → 3.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.bumpversion.cfg +1 -2
  3. data/CHANGELOG.md +65 -2
  4. data/CODE_OF_CONDUCT.md +130 -0
  5. data/CONTRIBUTING.md +4 -0
  6. data/GETTING_STARTED.md +1 -1
  7. data/README.md +3 -0
  8. data/lib/recurly/client.rb +7 -2
  9. data/lib/recurly/client/operations.rb +436 -56
  10. data/lib/recurly/errors/api_errors.rb +59 -17
  11. data/lib/recurly/requests/add_on_create.rb +29 -1
  12. data/lib/recurly/requests/add_on_update.rb +20 -0
  13. data/lib/recurly/requests/coupon_create.rb +1 -1
  14. data/lib/recurly/requests/item_create.rb +8 -0
  15. data/lib/recurly/requests/item_update.rb +8 -0
  16. data/lib/recurly/requests/line_item_create.rb +9 -1
  17. data/lib/recurly/requests/measured_unit_create.rb +22 -0
  18. data/lib/recurly/requests/measured_unit_update.rb +22 -0
  19. data/lib/recurly/requests/plan_create.rb +8 -0
  20. data/lib/recurly/requests/plan_update.rb +8 -0
  21. data/lib/recurly/requests/shipping_purchase.rb +1 -1
  22. data/lib/recurly/requests/subscription_add_on_create.rb +5 -1
  23. data/lib/recurly/requests/subscription_add_on_update.rb +4 -0
  24. data/lib/recurly/requests/subscription_change_create.rb +5 -1
  25. data/lib/recurly/requests/subscription_purchase.rb +4 -0
  26. data/lib/recurly/requests/usage_create.rb +26 -0
  27. data/lib/recurly/resources/add_on.rb +24 -0
  28. data/lib/recurly/resources/add_on_mini.rb +16 -0
  29. data/lib/recurly/resources/coupon.rb +9 -1
  30. data/lib/recurly/resources/export_dates.rb +18 -0
  31. data/lib/recurly/resources/export_file.rb +22 -0
  32. data/lib/recurly/resources/export_files.rb +18 -0
  33. data/lib/recurly/resources/item.rb +8 -0
  34. data/lib/recurly/resources/line_item.rb +8 -0
  35. data/lib/recurly/resources/measured_unit.rb +46 -0
  36. data/lib/recurly/resources/plan.rb +8 -0
  37. data/lib/recurly/resources/subscription_add_on.rb +5 -1
  38. data/lib/recurly/resources/subscription_change.rb +8 -0
  39. data/lib/recurly/resources/subscription_change_preview.rb +5 -1
  40. data/lib/recurly/resources/unique_coupon_code.rb +8 -0
  41. data/lib/recurly/resources/usage.rb +70 -0
  42. data/lib/recurly/version.rb +1 -1
  43. data/openapi/api.yaml +1559 -106
  44. metadata +15 -6
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.9.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-06 00:00:00.000000000 Z
11
+ date: 2020-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -125,6 +125,7 @@ files:
125
125
  - ".travis.yml"
126
126
  - ".yardopts"
127
127
  - CHANGELOG.md
128
+ - CODE_OF_CONDUCT.md
128
129
  - CONTRIBUTING.md
129
130
  - GETTING_STARTED.md
130
131
  - Gemfile
@@ -171,6 +172,8 @@ files:
171
172
  - lib/recurly/requests/item_update.rb
172
173
  - lib/recurly/requests/line_item_create.rb
173
174
  - lib/recurly/requests/line_item_refund.rb
175
+ - lib/recurly/requests/measured_unit_create.rb
176
+ - lib/recurly/requests/measured_unit_update.rb
174
177
  - lib/recurly/requests/plan_create.rb
175
178
  - lib/recurly/requests/plan_hosted_pages.rb
176
179
  - lib/recurly/requests/plan_pricing.rb
@@ -197,6 +200,7 @@ files:
197
200
  - lib/recurly/requests/subscription_shipping_update.rb
198
201
  - lib/recurly/requests/subscription_update.rb
199
202
  - lib/recurly/requests/tier.rb
203
+ - lib/recurly/requests/usage_create.rb
200
204
  - lib/recurly/resource.rb
201
205
  - lib/recurly/resources.rb
202
206
  - lib/recurly/resources/account.rb
@@ -225,6 +229,9 @@ files:
225
229
  - lib/recurly/resources/custom_field_definition.rb
226
230
  - lib/recurly/resources/error.rb
227
231
  - lib/recurly/resources/error_may_have_transaction.rb
232
+ - lib/recurly/resources/export_dates.rb
233
+ - lib/recurly/resources/export_file.rb
234
+ - lib/recurly/resources/export_files.rb
228
235
  - lib/recurly/resources/fraud_info.rb
229
236
  - lib/recurly/resources/invoice.rb
230
237
  - lib/recurly/resources/invoice_address.rb
@@ -234,6 +241,7 @@ files:
234
241
  - lib/recurly/resources/item_mini.rb
235
242
  - lib/recurly/resources/line_item.rb
236
243
  - lib/recurly/resources/line_item_list.rb
244
+ - lib/recurly/resources/measured_unit.rb
237
245
  - lib/recurly/resources/payment_method.rb
238
246
  - lib/recurly/resources/plan.rb
239
247
  - lib/recurly/resources/plan_hosted_pages.rb
@@ -257,6 +265,7 @@ files:
257
265
  - lib/recurly/resources/transaction_error.rb
258
266
  - lib/recurly/resources/transaction_payment_gateway.rb
259
267
  - lib/recurly/resources/unique_coupon_code.rb
268
+ - lib/recurly/resources/usage.rb
260
269
  - lib/recurly/resources/user.rb
261
270
  - lib/recurly/schema.rb
262
271
  - lib/recurly/schema/file_parser.rb
@@ -284,8 +293,8 @@ metadata:
284
293
  changelog_uri: https://github.com/recurly/recurly-client-ruby/blob/master/CHANGELOG.md
285
294
  documentation_uri: https://recurly.github.io/recurly-client-ruby/
286
295
  homepage_uri: https://github.com/recurly/recurly-client-ruby
287
- source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.9.0
288
- post_install_message:
296
+ source_code_uri: https://github.com/recurly/recurly-client-ruby/tree/3.14.0
297
+ post_install_message:
289
298
  rdoc_options: []
290
299
  require_paths:
291
300
  - lib
@@ -301,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
301
310
  version: '0'
302
311
  requirements: []
303
312
  rubygems_version: 3.0.3
304
- signing_key:
313
+ signing_key:
305
314
  specification_version: 4
306
315
  summary: The ruby client for Recurly's V3 API
307
316
  test_files: []