gocardless_pro 2.15.1 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,6 +23,7 @@ describe GoCardlessPro::Services::RefundsService do
23
23
  'links' => 'links-input',
24
24
  'metadata' => 'metadata-input',
25
25
  'reference' => 'reference-input',
26
+ 'status' => 'status-input',
26
27
  }
27
28
  end
28
29
 
@@ -40,6 +41,7 @@ describe GoCardlessPro::Services::RefundsService do
40
41
  'links' => 'links-input',
41
42
  'metadata' => 'metadata-input',
42
43
  'reference' => 'reference-input',
44
+ 'status' => 'status-input',
43
45
  },
44
46
  }
45
47
  ).
@@ -57,6 +59,7 @@ describe GoCardlessPro::Services::RefundsService do
57
59
  'links' => 'links-input',
58
60
  'metadata' => 'metadata-input',
59
61
  'reference' => 'reference-input',
62
+ 'status' => 'status-input',
60
63
  },
61
64
 
62
65
  }.to_json,
@@ -130,6 +133,7 @@ describe GoCardlessPro::Services::RefundsService do
130
133
  'links' => 'links-input',
131
134
  'metadata' => 'metadata-input',
132
135
  'reference' => 'reference-input',
136
+ 'status' => 'status-input',
133
137
  }
134
138
  end
135
139
 
@@ -170,6 +174,7 @@ describe GoCardlessPro::Services::RefundsService do
170
174
  'links' => 'links-input',
171
175
  'metadata' => 'metadata-input',
172
176
  'reference' => 'reference-input',
177
+ 'status' => 'status-input',
173
178
  },
174
179
  }.to_json,
175
180
  headers: response_headers
@@ -229,6 +234,7 @@ describe GoCardlessPro::Services::RefundsService do
229
234
  'links' => 'links-input',
230
235
  'metadata' => 'metadata-input',
231
236
  'reference' => 'reference-input',
237
+ 'status' => 'status-input',
232
238
  }],
233
239
  meta: {
234
240
  cursors: {
@@ -262,6 +268,8 @@ describe GoCardlessPro::Services::RefundsService do
262
268
  expect(get_list_response.records.first.metadata).to eq('metadata-input')
263
269
 
264
270
  expect(get_list_response.records.first.reference).to eq('reference-input')
271
+
272
+ expect(get_list_response.records.first.status).to eq('status-input')
265
273
  end
266
274
 
267
275
  it 'exposes the cursors for before and after' do
@@ -310,6 +318,7 @@ describe GoCardlessPro::Services::RefundsService do
310
318
  'links' => 'links-input',
311
319
  'metadata' => 'metadata-input',
312
320
  'reference' => 'reference-input',
321
+ 'status' => 'status-input',
313
322
  }],
314
323
  meta: {
315
324
  cursors: { after: 'AB345' },
@@ -333,6 +342,7 @@ describe GoCardlessPro::Services::RefundsService do
333
342
  'links' => 'links-input',
334
343
  'metadata' => 'metadata-input',
335
344
  'reference' => 'reference-input',
345
+ 'status' => 'status-input',
336
346
  }],
337
347
  meta: {
338
348
  limit: 2,
@@ -365,6 +375,7 @@ describe GoCardlessPro::Services::RefundsService do
365
375
  'links' => 'links-input',
366
376
  'metadata' => 'metadata-input',
367
377
  'reference' => 'reference-input',
378
+ 'status' => 'status-input',
368
379
  }],
369
380
  meta: {
370
381
  cursors: { after: 'AB345' },
@@ -388,6 +399,7 @@ describe GoCardlessPro::Services::RefundsService do
388
399
  'links' => 'links-input',
389
400
  'metadata' => 'metadata-input',
390
401
  'reference' => 'reference-input',
402
+ 'status' => 'status-input',
391
403
  }],
392
404
  meta: {
393
405
  limit: 2,
@@ -416,6 +428,7 @@ describe GoCardlessPro::Services::RefundsService do
416
428
  'links' => 'links-input',
417
429
  'metadata' => 'metadata-input',
418
430
  'reference' => 'reference-input',
431
+ 'status' => 'status-input',
419
432
  }],
420
433
  meta: {
421
434
  cursors: { after: 'AB345' },
@@ -442,6 +455,7 @@ describe GoCardlessPro::Services::RefundsService do
442
455
  'links' => 'links-input',
443
456
  'metadata' => 'metadata-input',
444
457
  'reference' => 'reference-input',
458
+ 'status' => 'status-input',
445
459
  }],
446
460
  meta: {
447
461
  limit: 2,
@@ -481,6 +495,7 @@ describe GoCardlessPro::Services::RefundsService do
481
495
  'links' => 'links-input',
482
496
  'metadata' => 'metadata-input',
483
497
  'reference' => 'reference-input',
498
+ 'status' => 'status-input',
484
499
  },
485
500
  }.to_json,
486
501
  headers: response_headers
@@ -514,6 +529,7 @@ describe GoCardlessPro::Services::RefundsService do
514
529
  'links' => 'links-input',
515
530
  'metadata' => 'metadata-input',
516
531
  'reference' => 'reference-input',
532
+ 'status' => 'status-input',
517
533
  },
518
534
  }.to_json,
519
535
  headers: response_headers
@@ -624,6 +640,7 @@ describe GoCardlessPro::Services::RefundsService do
624
640
  'links' => 'links-input',
625
641
  'metadata' => 'metadata-input',
626
642
  'reference' => 'reference-input',
643
+ 'status' => 'status-input',
627
644
  },
628
645
  }.to_json,
629
646
  headers: response_headers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gocardless_pro
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.1
4
+ version: 2.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-17 00:00:00.000000000 Z
11
+ date: 2020-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -166,6 +166,7 @@ files:
166
166
  - lib/gocardless_pro/resources/customer_bank_account.rb
167
167
  - lib/gocardless_pro/resources/customer_notification.rb
168
168
  - lib/gocardless_pro/resources/event.rb
169
+ - lib/gocardless_pro/resources/instalment_schedule.rb
169
170
  - lib/gocardless_pro/resources/mandate.rb
170
171
  - lib/gocardless_pro/resources/mandate_import.rb
171
172
  - lib/gocardless_pro/resources/mandate_import_entry.rb
@@ -185,6 +186,7 @@ files:
185
186
  - lib/gocardless_pro/services/customer_notifications_service.rb
186
187
  - lib/gocardless_pro/services/customers_service.rb
187
188
  - lib/gocardless_pro/services/events_service.rb
189
+ - lib/gocardless_pro/services/instalment_schedules_service.rb
188
190
  - lib/gocardless_pro/services/mandate_import_entries_service.rb
189
191
  - lib/gocardless_pro/services/mandate_imports_service.rb
190
192
  - lib/gocardless_pro/services/mandate_pdfs_service.rb
@@ -209,6 +211,7 @@ files:
209
211
  - spec/resources/customer_notification_spec.rb
210
212
  - spec/resources/customer_spec.rb
211
213
  - spec/resources/event_spec.rb
214
+ - spec/resources/instalment_schedule_spec.rb
212
215
  - spec/resources/mandate_import_entry_spec.rb
213
216
  - spec/resources/mandate_import_spec.rb
214
217
  - spec/resources/mandate_pdf_spec.rb
@@ -227,6 +230,7 @@ files:
227
230
  - spec/services/customer_notifications_service_spec.rb
228
231
  - spec/services/customers_service_spec.rb
229
232
  - spec/services/events_service_spec.rb
233
+ - spec/services/instalment_schedules_service_spec.rb
230
234
  - spec/services/mandate_import_entries_service_spec.rb
231
235
  - spec/services/mandate_imports_service_spec.rb
232
236
  - spec/services/mandate_pdfs_service_spec.rb
@@ -258,8 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
262
  - !ruby/object:Gem::Version
259
263
  version: '0'
260
264
  requirements: []
261
- rubyforge_project:
262
- rubygems_version: 2.7.6.2
265
+ rubygems_version: 3.0.6
263
266
  signing_key:
264
267
  specification_version: 4
265
268
  summary: A gem for calling the GoCardless Pro API
@@ -276,6 +279,7 @@ test_files:
276
279
  - spec/resources/customer_notification_spec.rb
277
280
  - spec/resources/customer_spec.rb
278
281
  - spec/resources/event_spec.rb
282
+ - spec/resources/instalment_schedule_spec.rb
279
283
  - spec/resources/mandate_import_entry_spec.rb
280
284
  - spec/resources/mandate_import_spec.rb
281
285
  - spec/resources/mandate_pdf_spec.rb
@@ -294,6 +298,7 @@ test_files:
294
298
  - spec/services/customer_notifications_service_spec.rb
295
299
  - spec/services/customers_service_spec.rb
296
300
  - spec/services/events_service_spec.rb
301
+ - spec/services/instalment_schedules_service_spec.rb
297
302
  - spec/services/mandate_import_entries_service_spec.rb
298
303
  - spec/services/mandate_imports_service_spec.rb
299
304
  - spec/services/mandate_pdfs_service_spec.rb