recurly 3.0.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/.bumpversion.cfg +1 -1
  3. data/.github/ISSUE_TEMPLATE/bug-report.md +30 -0
  4. data/.github/ISSUE_TEMPLATE/question-or-other.md +10 -0
  5. data/.yardopts +1 -2
  6. data/GETTING_STARTED.md +13 -20
  7. data/README.md +4 -13
  8. data/lib/recurly/client.rb +9 -1
  9. data/lib/recurly/client/operations.rb +298 -173
  10. data/lib/recurly/http.rb +3 -1
  11. data/lib/recurly/requests/account_create.rb +4 -0
  12. data/lib/recurly/requests/account_purchase.rb +4 -0
  13. data/lib/recurly/requests/account_update.rb +4 -0
  14. data/lib/recurly/requests/billing_info_create.rb +8 -0
  15. data/lib/recurly/requests/invoice_collect.rb +18 -0
  16. data/lib/recurly/requests/item_create.rb +50 -0
  17. data/lib/recurly/requests/item_update.rb +50 -0
  18. data/lib/recurly/requests/line_item_create.rb +21 -5
  19. data/lib/recurly/requests/pricing.rb +18 -0
  20. data/lib/recurly/requests/purchase_create.rb +4 -0
  21. data/lib/recurly/requests/subscription_cancel.rb +14 -0
  22. data/lib/recurly/requests/subscription_change_create.rb +5 -1
  23. data/lib/recurly/requests/subscription_create.rb +4 -0
  24. data/lib/recurly/requests/subscription_update.rb +1 -1
  25. data/lib/recurly/resources/binary_file.rb +14 -0
  26. data/lib/recurly/resources/item.rb +74 -0
  27. data/lib/recurly/resources/line_item.rb +13 -1
  28. data/lib/recurly/resources/pricing.rb +18 -0
  29. data/lib/recurly/resources/transaction.rb +1 -1
  30. data/lib/recurly/resources/transaction_error.rb +8 -0
  31. data/lib/recurly/schema/file_parser.rb +13 -0
  32. data/lib/recurly/version.rb +1 -1
  33. data/openapi/api.yaml +15083 -0
  34. metadata +15 -3
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.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Recurly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-09 00:00:00.000000000 Z
11
+ date: 2019-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -150,6 +150,8 @@ extensions: []
150
150
  extra_rdoc_files: []
151
151
  files:
152
152
  - ".bumpversion.cfg"
153
+ - ".github/ISSUE_TEMPLATE/bug-report.md"
154
+ - ".github/ISSUE_TEMPLATE/question-or-other.md"
153
155
  - ".gitignore"
154
156
  - ".rspec"
155
157
  - ".travis.yml"
@@ -191,15 +193,19 @@ files:
191
193
  - lib/recurly/requests/custom_field.rb
192
194
  - lib/recurly/requests/external_refund.rb
193
195
  - lib/recurly/requests/invoice_address.rb
196
+ - lib/recurly/requests/invoice_collect.rb
194
197
  - lib/recurly/requests/invoice_create.rb
195
198
  - lib/recurly/requests/invoice_refund.rb
196
199
  - lib/recurly/requests/invoice_updatable.rb
200
+ - lib/recurly/requests/item_create.rb
201
+ - lib/recurly/requests/item_update.rb
197
202
  - lib/recurly/requests/line_item_create.rb
198
203
  - lib/recurly/requests/line_item_refund.rb
199
204
  - lib/recurly/requests/plan_create.rb
200
205
  - lib/recurly/requests/plan_hosted_pages.rb
201
206
  - lib/recurly/requests/plan_pricing.rb
202
207
  - lib/recurly/requests/plan_update.rb
208
+ - lib/recurly/requests/pricing.rb
203
209
  - lib/recurly/requests/purchase_create.rb
204
210
  - lib/recurly/requests/shipping_address_create.rb
205
211
  - lib/recurly/requests/shipping_address_update.rb
@@ -207,6 +213,7 @@ files:
207
213
  - lib/recurly/requests/shipping_purchase.rb
208
214
  - lib/recurly/requests/subscription_add_on_create.rb
209
215
  - lib/recurly/requests/subscription_add_on_update.rb
216
+ - lib/recurly/requests/subscription_cancel.rb
210
217
  - lib/recurly/requests/subscription_change_create.rb
211
218
  - lib/recurly/requests/subscription_change_shipping_create.rb
212
219
  - lib/recurly/requests/subscription_create.rb
@@ -231,6 +238,7 @@ files:
231
238
  - lib/recurly/resources/address.rb
232
239
  - lib/recurly/resources/billing_info.rb
233
240
  - lib/recurly/resources/billing_info_updated_by.rb
241
+ - lib/recurly/resources/binary_file.rb
234
242
  - lib/recurly/resources/coupon.rb
235
243
  - lib/recurly/resources/coupon_discount.rb
236
244
  - lib/recurly/resources/coupon_discount_pricing.rb
@@ -248,6 +256,7 @@ files:
248
256
  - lib/recurly/resources/invoice_address.rb
249
257
  - lib/recurly/resources/invoice_collection.rb
250
258
  - lib/recurly/resources/invoice_mini.rb
259
+ - lib/recurly/resources/item.rb
251
260
  - lib/recurly/resources/line_item.rb
252
261
  - lib/recurly/resources/line_item_list.rb
253
262
  - lib/recurly/resources/payment_method.rb
@@ -255,6 +264,7 @@ files:
255
264
  - lib/recurly/resources/plan_hosted_pages.rb
256
265
  - lib/recurly/resources/plan_mini.rb
257
266
  - lib/recurly/resources/plan_pricing.rb
267
+ - lib/recurly/resources/pricing.rb
258
268
  - lib/recurly/resources/settings.rb
259
269
  - lib/recurly/resources/shipping_address.rb
260
270
  - lib/recurly/resources/shipping_method.rb
@@ -271,12 +281,14 @@ files:
271
281
  - lib/recurly/resources/unique_coupon_code.rb
272
282
  - lib/recurly/resources/user.rb
273
283
  - lib/recurly/schema.rb
284
+ - lib/recurly/schema/file_parser.rb
274
285
  - lib/recurly/schema/json_parser.rb
275
286
  - lib/recurly/schema/request_caster.rb
276
287
  - lib/recurly/schema/resource_caster.rb
277
288
  - lib/recurly/schema/schema_factory.rb
278
289
  - lib/recurly/schema/schema_validator.rb
279
290
  - lib/recurly/version.rb
291
+ - openapi/api.yaml
280
292
  - recurly.gemspec
281
293
  - scripts/build
282
294
  - scripts/bump
@@ -303,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
303
315
  - !ruby/object:Gem::Version
304
316
  version: '0'
305
317
  requirements: []
306
- rubygems_version: 3.0.6
318
+ rubygems_version: 3.0.3
307
319
  signing_key:
308
320
  specification_version: 4
309
321
  summary: The ruby client for Recurly's V3 API