gocardless_pro 2.16.1 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 263df5bc8bb7d70c4e68577409d97291a7ff2ae3
4
- data.tar.gz: 8596829226287521436e502a460bb4bd33604dcd
2
+ SHA256:
3
+ metadata.gz: 0bfcd1ca2617f19c9c12af0782efab8800c71afea93e862c525969880ebf5146
4
+ data.tar.gz: b0994f0488619cd68a8f298227e10e49b72e4726b2b00b10ad2ba2b302588962
5
5
  SHA512:
6
- metadata.gz: ac628b14e2e55f990a116f029c00c9087b96bb1a44dba695b3a1a4a43f99ae31ffcb16dd51d115719ef04a12dd7068d040edb97b47d761412de565dcf0e81ab0
7
- data.tar.gz: c7ac8a78ee31d7e5da129efeb0ee800d1253ba17092c07705f50575fc8fcdc5cdb28d146b98d8c83baec866cb05d6b7f2b86b828a159eb0c5e181fb762247d68
6
+ metadata.gz: 2a383006d902557455bbe40336137b1ee7736ee6c078b2405ecde7f7eac783e1baedd94121f127f99788d23f2ce03fe15c3f3e3496b46c9c4c6a85fb458e7f20
7
+ data.tar.gz: fee7013ea27c5c719b6ed3a6db5b3d3882b7743e9862de1389db99be42383099469f1877927f1dd369919201c71856d2bbcb589d25377fff0e0223bd72c9380b
@@ -143,7 +143,7 @@ module GoCardlessPro
143
143
  'User-Agent' => user_agent.to_s,
144
144
  'Content-Type' => 'application/json',
145
145
  'GoCardless-Client-Library' => 'gocardless-pro-ruby',
146
- 'GoCardless-Client-Version' => '2.16.1',
146
+ 'GoCardless-Client-Version' => '2.17.0',
147
147
  },
148
148
  }
149
149
  end
@@ -30,6 +30,7 @@ module GoCardlessPro
30
30
  attr_reader :id
31
31
  attr_reader :metadata
32
32
  attr_reader :reference
33
+ attr_reader :retry_if_possible
33
34
  attr_reader :status
34
35
 
35
36
  # Initialize a payment resource instance
@@ -48,6 +49,7 @@ module GoCardlessPro
48
49
  @links = object['links']
49
50
  @metadata = object['metadata']
50
51
  @reference = object['reference']
52
+ @retry_if_possible = object['retry_if_possible']
51
53
  @status = object['status']
52
54
  @response = response
53
55
  end
@@ -80,6 +80,7 @@ module GoCardlessPro
80
80
  attr_reader :month
81
81
  attr_reader :name
82
82
  attr_reader :payment_reference
83
+ attr_reader :retry_if_possible
83
84
  attr_reader :start_date
84
85
  attr_reader :status
85
86
  attr_reader :upcoming_payments
@@ -103,6 +104,7 @@ module GoCardlessPro
103
104
  @month = object['month']
104
105
  @name = object['name']
105
106
  @payment_reference = object['payment_reference']
107
+ @retry_if_possible = object['retry_if_possible']
106
108
  @start_date = object['start_date']
107
109
  @status = object['status']
108
110
  @upcoming_payments = object['upcoming_payments']
@@ -4,5 +4,5 @@ end
4
4
 
5
5
  module GoCardlessPro
6
6
  # Current version of the GC gem
7
- VERSION = '2.16.1'.freeze
7
+ VERSION = '2.17.0'.freeze
8
8
  end
@@ -26,6 +26,7 @@ describe GoCardlessPro::Resources::Payment do
26
26
  'links' => 'links-input',
27
27
  'metadata' => 'metadata-input',
28
28
  'reference' => 'reference-input',
29
+ 'retry_if_possible' => 'retry_if_possible-input',
29
30
  'status' => 'status-input',
30
31
  }
31
32
  end
@@ -47,6 +48,7 @@ describe GoCardlessPro::Resources::Payment do
47
48
  'links' => 'links-input',
48
49
  'metadata' => 'metadata-input',
49
50
  'reference' => 'reference-input',
51
+ 'retry_if_possible' => 'retry_if_possible-input',
50
52
  'status' => 'status-input',
51
53
  },
52
54
  }
@@ -68,6 +70,7 @@ describe GoCardlessPro::Resources::Payment do
68
70
  'links' => 'links-input',
69
71
  'metadata' => 'metadata-input',
70
72
  'reference' => 'reference-input',
73
+ 'retry_if_possible' => 'retry_if_possible-input',
71
74
  'status' => 'status-input',
72
75
  },
73
76
 
@@ -122,6 +125,7 @@ describe GoCardlessPro::Resources::Payment do
122
125
  'links' => 'links-input',
123
126
  'metadata' => 'metadata-input',
124
127
  'reference' => 'reference-input',
128
+ 'retry_if_possible' => 'retry_if_possible-input',
125
129
  'status' => 'status-input',
126
130
  }
127
131
  end
@@ -166,6 +170,7 @@ describe GoCardlessPro::Resources::Payment do
166
170
  'links' => 'links-input',
167
171
  'metadata' => 'metadata-input',
168
172
  'reference' => 'reference-input',
173
+ 'retry_if_possible' => 'retry_if_possible-input',
169
174
  'status' => 'status-input',
170
175
  },
171
176
  }.to_json,
@@ -201,6 +206,7 @@ describe GoCardlessPro::Resources::Payment do
201
206
  'links' => 'links-input',
202
207
  'metadata' => 'metadata-input',
203
208
  'reference' => 'reference-input',
209
+ 'retry_if_possible' => 'retry_if_possible-input',
204
210
  'status' => 'status-input',
205
211
  }],
206
212
  meta: {
@@ -237,6 +243,8 @@ describe GoCardlessPro::Resources::Payment do
237
243
 
238
244
  expect(get_list_response.records.first.reference).to eq('reference-input')
239
245
 
246
+ expect(get_list_response.records.first.retry_if_possible).to eq('retry_if_possible-input')
247
+
240
248
  expect(get_list_response.records.first.status).to eq('status-input')
241
249
  end
242
250
 
@@ -266,6 +274,7 @@ describe GoCardlessPro::Resources::Payment do
266
274
  'links' => 'links-input',
267
275
  'metadata' => 'metadata-input',
268
276
  'reference' => 'reference-input',
277
+ 'retry_if_possible' => 'retry_if_possible-input',
269
278
  'status' => 'status-input',
270
279
  }],
271
280
  meta: {
@@ -293,6 +302,7 @@ describe GoCardlessPro::Resources::Payment do
293
302
  'links' => 'links-input',
294
303
  'metadata' => 'metadata-input',
295
304
  'reference' => 'reference-input',
305
+ 'retry_if_possible' => 'retry_if_possible-input',
296
306
  'status' => 'status-input',
297
307
  }],
298
308
  meta: {
@@ -336,6 +346,7 @@ describe GoCardlessPro::Resources::Payment do
336
346
  'links' => 'links-input',
337
347
  'metadata' => 'metadata-input',
338
348
  'reference' => 'reference-input',
349
+ 'retry_if_possible' => 'retry_if_possible-input',
339
350
  'status' => 'status-input',
340
351
  },
341
352
  }.to_json,
@@ -373,6 +384,7 @@ describe GoCardlessPro::Resources::Payment do
373
384
  'links' => 'links-input',
374
385
  'metadata' => 'metadata-input',
375
386
  'reference' => 'reference-input',
387
+ 'retry_if_possible' => 'retry_if_possible-input',
376
388
  'status' => 'status-input',
377
389
  },
378
390
  }.to_json,
@@ -432,6 +444,7 @@ describe GoCardlessPro::Resources::Payment do
432
444
  'links' => 'links-input',
433
445
  'metadata' => 'metadata-input',
434
446
  'reference' => 'reference-input',
447
+ 'retry_if_possible' => 'retry_if_possible-input',
435
448
  'status' => 'status-input',
436
449
  },
437
450
  }.to_json,
@@ -469,6 +482,7 @@ describe GoCardlessPro::Resources::Payment do
469
482
  'links' => 'links-input',
470
483
  'metadata' => 'metadata-input',
471
484
  'reference' => 'reference-input',
485
+ 'retry_if_possible' => 'retry_if_possible-input',
472
486
  'status' => 'status-input',
473
487
  },
474
488
  }.to_json,
@@ -511,6 +525,7 @@ describe GoCardlessPro::Resources::Payment do
511
525
  'links' => 'links-input',
512
526
  'metadata' => 'metadata-input',
513
527
  'reference' => 'reference-input',
528
+ 'retry_if_possible' => 'retry_if_possible-input',
514
529
  'status' => 'status-input',
515
530
  },
516
531
  }.to_json,
@@ -543,6 +558,7 @@ describe GoCardlessPro::Resources::Payment do
543
558
  'links' => 'links-input',
544
559
  'metadata' => 'metadata-input',
545
560
  'reference' => 'reference-input',
561
+ 'retry_if_possible' => 'retry_if_possible-input',
546
562
  'status' => 'status-input',
547
563
  },
548
564
  }.to_json,
@@ -585,6 +601,7 @@ describe GoCardlessPro::Resources::Payment do
585
601
  'links' => 'links-input',
586
602
  'metadata' => 'metadata-input',
587
603
  'reference' => 'reference-input',
604
+ 'retry_if_possible' => 'retry_if_possible-input',
588
605
  'status' => 'status-input',
589
606
  },
590
607
  }.to_json,
@@ -29,6 +29,7 @@ describe GoCardlessPro::Resources::Subscription do
29
29
  'month' => 'month-input',
30
30
  'name' => 'name-input',
31
31
  'payment_reference' => 'payment_reference-input',
32
+ 'retry_if_possible' => 'retry_if_possible-input',
32
33
  'start_date' => 'start_date-input',
33
34
  'status' => 'status-input',
34
35
  'upcoming_payments' => 'upcoming_payments-input',
@@ -55,6 +56,7 @@ describe GoCardlessPro::Resources::Subscription do
55
56
  'month' => 'month-input',
56
57
  'name' => 'name-input',
57
58
  'payment_reference' => 'payment_reference-input',
59
+ 'retry_if_possible' => 'retry_if_possible-input',
58
60
  'start_date' => 'start_date-input',
59
61
  'status' => 'status-input',
60
62
  'upcoming_payments' => 'upcoming_payments-input',
@@ -81,6 +83,7 @@ describe GoCardlessPro::Resources::Subscription do
81
83
  'month' => 'month-input',
82
84
  'name' => 'name-input',
83
85
  'payment_reference' => 'payment_reference-input',
86
+ 'retry_if_possible' => 'retry_if_possible-input',
84
87
  'start_date' => 'start_date-input',
85
88
  'status' => 'status-input',
86
89
  'upcoming_payments' => 'upcoming_payments-input',
@@ -140,6 +143,7 @@ describe GoCardlessPro::Resources::Subscription do
140
143
  'month' => 'month-input',
141
144
  'name' => 'name-input',
142
145
  'payment_reference' => 'payment_reference-input',
146
+ 'retry_if_possible' => 'retry_if_possible-input',
143
147
  'start_date' => 'start_date-input',
144
148
  'status' => 'status-input',
145
149
  'upcoming_payments' => 'upcoming_payments-input',
@@ -189,6 +193,7 @@ describe GoCardlessPro::Resources::Subscription do
189
193
  'month' => 'month-input',
190
194
  'name' => 'name-input',
191
195
  'payment_reference' => 'payment_reference-input',
196
+ 'retry_if_possible' => 'retry_if_possible-input',
192
197
  'start_date' => 'start_date-input',
193
198
  'status' => 'status-input',
194
199
  'upcoming_payments' => 'upcoming_payments-input',
@@ -229,6 +234,7 @@ describe GoCardlessPro::Resources::Subscription do
229
234
  'month' => 'month-input',
230
235
  'name' => 'name-input',
231
236
  'payment_reference' => 'payment_reference-input',
237
+ 'retry_if_possible' => 'retry_if_possible-input',
232
238
  'start_date' => 'start_date-input',
233
239
  'status' => 'status-input',
234
240
  'upcoming_payments' => 'upcoming_payments-input',
@@ -273,6 +279,8 @@ describe GoCardlessPro::Resources::Subscription do
273
279
 
274
280
  expect(get_list_response.records.first.payment_reference).to eq('payment_reference-input')
275
281
 
282
+ expect(get_list_response.records.first.retry_if_possible).to eq('retry_if_possible-input')
283
+
276
284
  expect(get_list_response.records.first.start_date).to eq('start_date-input')
277
285
 
278
286
  expect(get_list_response.records.first.status).to eq('status-input')
@@ -309,6 +317,7 @@ describe GoCardlessPro::Resources::Subscription do
309
317
  'month' => 'month-input',
310
318
  'name' => 'name-input',
311
319
  'payment_reference' => 'payment_reference-input',
320
+ 'retry_if_possible' => 'retry_if_possible-input',
312
321
  'start_date' => 'start_date-input',
313
322
  'status' => 'status-input',
314
323
  'upcoming_payments' => 'upcoming_payments-input',
@@ -341,6 +350,7 @@ describe GoCardlessPro::Resources::Subscription do
341
350
  'month' => 'month-input',
342
351
  'name' => 'name-input',
343
352
  'payment_reference' => 'payment_reference-input',
353
+ 'retry_if_possible' => 'retry_if_possible-input',
344
354
  'start_date' => 'start_date-input',
345
355
  'status' => 'status-input',
346
356
  'upcoming_payments' => 'upcoming_payments-input',
@@ -389,6 +399,7 @@ describe GoCardlessPro::Resources::Subscription do
389
399
  'month' => 'month-input',
390
400
  'name' => 'name-input',
391
401
  'payment_reference' => 'payment_reference-input',
402
+ 'retry_if_possible' => 'retry_if_possible-input',
392
403
  'start_date' => 'start_date-input',
393
404
  'status' => 'status-input',
394
405
  'upcoming_payments' => 'upcoming_payments-input',
@@ -431,6 +442,7 @@ describe GoCardlessPro::Resources::Subscription do
431
442
  'month' => 'month-input',
432
443
  'name' => 'name-input',
433
444
  'payment_reference' => 'payment_reference-input',
445
+ 'retry_if_possible' => 'retry_if_possible-input',
434
446
  'start_date' => 'start_date-input',
435
447
  'status' => 'status-input',
436
448
  'upcoming_payments' => 'upcoming_payments-input',
@@ -495,6 +507,7 @@ describe GoCardlessPro::Resources::Subscription do
495
507
  'month' => 'month-input',
496
508
  'name' => 'name-input',
497
509
  'payment_reference' => 'payment_reference-input',
510
+ 'retry_if_possible' => 'retry_if_possible-input',
498
511
  'start_date' => 'start_date-input',
499
512
  'status' => 'status-input',
500
513
  'upcoming_payments' => 'upcoming_payments-input',
@@ -537,6 +550,7 @@ describe GoCardlessPro::Resources::Subscription do
537
550
  'month' => 'month-input',
538
551
  'name' => 'name-input',
539
552
  'payment_reference' => 'payment_reference-input',
553
+ 'retry_if_possible' => 'retry_if_possible-input',
540
554
  'start_date' => 'start_date-input',
541
555
  'status' => 'status-input',
542
556
  'upcoming_payments' => 'upcoming_payments-input',
@@ -584,6 +598,7 @@ describe GoCardlessPro::Resources::Subscription do
584
598
  'month' => 'month-input',
585
599
  'name' => 'name-input',
586
600
  'payment_reference' => 'payment_reference-input',
601
+ 'retry_if_possible' => 'retry_if_possible-input',
587
602
  'start_date' => 'start_date-input',
588
603
  'status' => 'status-input',
589
604
  'upcoming_payments' => 'upcoming_payments-input',
@@ -26,6 +26,7 @@ describe GoCardlessPro::Services::PaymentsService do
26
26
  'links' => 'links-input',
27
27
  'metadata' => 'metadata-input',
28
28
  'reference' => 'reference-input',
29
+ 'retry_if_possible' => 'retry_if_possible-input',
29
30
  'status' => 'status-input',
30
31
  }
31
32
  end
@@ -47,6 +48,7 @@ describe GoCardlessPro::Services::PaymentsService do
47
48
  'links' => 'links-input',
48
49
  'metadata' => 'metadata-input',
49
50
  'reference' => 'reference-input',
51
+ 'retry_if_possible' => 'retry_if_possible-input',
50
52
  'status' => 'status-input',
51
53
  },
52
54
  }
@@ -68,6 +70,7 @@ describe GoCardlessPro::Services::PaymentsService do
68
70
  'links' => 'links-input',
69
71
  'metadata' => 'metadata-input',
70
72
  'reference' => 'reference-input',
73
+ 'retry_if_possible' => 'retry_if_possible-input',
71
74
  'status' => 'status-input',
72
75
  },
73
76
 
@@ -145,6 +148,7 @@ describe GoCardlessPro::Services::PaymentsService do
145
148
  'links' => 'links-input',
146
149
  'metadata' => 'metadata-input',
147
150
  'reference' => 'reference-input',
151
+ 'retry_if_possible' => 'retry_if_possible-input',
148
152
  'status' => 'status-input',
149
153
  }
150
154
  end
@@ -189,6 +193,7 @@ describe GoCardlessPro::Services::PaymentsService do
189
193
  'links' => 'links-input',
190
194
  'metadata' => 'metadata-input',
191
195
  'reference' => 'reference-input',
196
+ 'retry_if_possible' => 'retry_if_possible-input',
192
197
  'status' => 'status-input',
193
198
  },
194
199
  }.to_json,
@@ -252,6 +257,7 @@ describe GoCardlessPro::Services::PaymentsService do
252
257
  'links' => 'links-input',
253
258
  'metadata' => 'metadata-input',
254
259
  'reference' => 'reference-input',
260
+ 'retry_if_possible' => 'retry_if_possible-input',
255
261
  'status' => 'status-input',
256
262
  }],
257
263
  meta: {
@@ -293,6 +299,8 @@ describe GoCardlessPro::Services::PaymentsService do
293
299
 
294
300
  expect(get_list_response.records.first.reference).to eq('reference-input')
295
301
 
302
+ expect(get_list_response.records.first.retry_if_possible).to eq('retry_if_possible-input')
303
+
296
304
  expect(get_list_response.records.first.status).to eq('status-input')
297
305
  end
298
306
 
@@ -345,6 +353,7 @@ describe GoCardlessPro::Services::PaymentsService do
345
353
  'links' => 'links-input',
346
354
  'metadata' => 'metadata-input',
347
355
  'reference' => 'reference-input',
356
+ 'retry_if_possible' => 'retry_if_possible-input',
348
357
  'status' => 'status-input',
349
358
  }],
350
359
  meta: {
@@ -372,6 +381,7 @@ describe GoCardlessPro::Services::PaymentsService do
372
381
  'links' => 'links-input',
373
382
  'metadata' => 'metadata-input',
374
383
  'reference' => 'reference-input',
384
+ 'retry_if_possible' => 'retry_if_possible-input',
375
385
  'status' => 'status-input',
376
386
  }],
377
387
  meta: {
@@ -408,6 +418,7 @@ describe GoCardlessPro::Services::PaymentsService do
408
418
  'links' => 'links-input',
409
419
  'metadata' => 'metadata-input',
410
420
  'reference' => 'reference-input',
421
+ 'retry_if_possible' => 'retry_if_possible-input',
411
422
  'status' => 'status-input',
412
423
  }],
413
424
  meta: {
@@ -435,6 +446,7 @@ describe GoCardlessPro::Services::PaymentsService do
435
446
  'links' => 'links-input',
436
447
  'metadata' => 'metadata-input',
437
448
  'reference' => 'reference-input',
449
+ 'retry_if_possible' => 'retry_if_possible-input',
438
450
  'status' => 'status-input',
439
451
  }],
440
452
  meta: {
@@ -467,6 +479,7 @@ describe GoCardlessPro::Services::PaymentsService do
467
479
  'links' => 'links-input',
468
480
  'metadata' => 'metadata-input',
469
481
  'reference' => 'reference-input',
482
+ 'retry_if_possible' => 'retry_if_possible-input',
470
483
  'status' => 'status-input',
471
484
  }],
472
485
  meta: {
@@ -497,6 +510,7 @@ describe GoCardlessPro::Services::PaymentsService do
497
510
  'links' => 'links-input',
498
511
  'metadata' => 'metadata-input',
499
512
  'reference' => 'reference-input',
513
+ 'retry_if_possible' => 'retry_if_possible-input',
500
514
  'status' => 'status-input',
501
515
  }],
502
516
  meta: {
@@ -540,6 +554,7 @@ describe GoCardlessPro::Services::PaymentsService do
540
554
  'links' => 'links-input',
541
555
  'metadata' => 'metadata-input',
542
556
  'reference' => 'reference-input',
557
+ 'retry_if_possible' => 'retry_if_possible-input',
543
558
  'status' => 'status-input',
544
559
  },
545
560
  }.to_json,
@@ -577,6 +592,7 @@ describe GoCardlessPro::Services::PaymentsService do
577
592
  'links' => 'links-input',
578
593
  'metadata' => 'metadata-input',
579
594
  'reference' => 'reference-input',
595
+ 'retry_if_possible' => 'retry_if_possible-input',
580
596
  'status' => 'status-input',
581
597
  },
582
598
  }.to_json,
@@ -691,6 +707,7 @@ describe GoCardlessPro::Services::PaymentsService do
691
707
  'links' => 'links-input',
692
708
  'metadata' => 'metadata-input',
693
709
  'reference' => 'reference-input',
710
+ 'retry_if_possible' => 'retry_if_possible-input',
694
711
  'status' => 'status-input',
695
712
  },
696
713
  }.to_json,
@@ -753,6 +770,7 @@ describe GoCardlessPro::Services::PaymentsService do
753
770
  'links' => 'links-input',
754
771
  'metadata' => 'metadata-input',
755
772
  'reference' => 'reference-input',
773
+ 'retry_if_possible' => 'retry_if_possible-input',
756
774
  'status' => 'status-input',
757
775
  },
758
776
  }.to_json,
@@ -806,6 +824,7 @@ describe GoCardlessPro::Services::PaymentsService do
806
824
  'links' => 'links-input',
807
825
  'metadata' => 'metadata-input',
808
826
  'reference' => 'reference-input',
827
+ 'retry_if_possible' => 'retry_if_possible-input',
809
828
  'status' => 'status-input',
810
829
  },
811
830
  }.to_json,
@@ -838,6 +857,7 @@ describe GoCardlessPro::Services::PaymentsService do
838
857
  'links' => 'links-input',
839
858
  'metadata' => 'metadata-input',
840
859
  'reference' => 'reference-input',
860
+ 'retry_if_possible' => 'retry_if_possible-input',
841
861
  'status' => 'status-input',
842
862
  },
843
863
  }.to_json,
@@ -891,6 +911,7 @@ describe GoCardlessPro::Services::PaymentsService do
891
911
  'links' => 'links-input',
892
912
  'metadata' => 'metadata-input',
893
913
  'reference' => 'reference-input',
914
+ 'retry_if_possible' => 'retry_if_possible-input',
894
915
  'status' => 'status-input',
895
916
  },
896
917
  }.to_json,
@@ -29,6 +29,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
29
29
  'month' => 'month-input',
30
30
  'name' => 'name-input',
31
31
  'payment_reference' => 'payment_reference-input',
32
+ 'retry_if_possible' => 'retry_if_possible-input',
32
33
  'start_date' => 'start_date-input',
33
34
  'status' => 'status-input',
34
35
  'upcoming_payments' => 'upcoming_payments-input',
@@ -55,6 +56,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
55
56
  'month' => 'month-input',
56
57
  'name' => 'name-input',
57
58
  'payment_reference' => 'payment_reference-input',
59
+ 'retry_if_possible' => 'retry_if_possible-input',
58
60
  'start_date' => 'start_date-input',
59
61
  'status' => 'status-input',
60
62
  'upcoming_payments' => 'upcoming_payments-input',
@@ -81,6 +83,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
81
83
  'month' => 'month-input',
82
84
  'name' => 'name-input',
83
85
  'payment_reference' => 'payment_reference-input',
86
+ 'retry_if_possible' => 'retry_if_possible-input',
84
87
  'start_date' => 'start_date-input',
85
88
  'status' => 'status-input',
86
89
  'upcoming_payments' => 'upcoming_payments-input',
@@ -163,6 +166,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
163
166
  'month' => 'month-input',
164
167
  'name' => 'name-input',
165
168
  'payment_reference' => 'payment_reference-input',
169
+ 'retry_if_possible' => 'retry_if_possible-input',
166
170
  'start_date' => 'start_date-input',
167
171
  'status' => 'status-input',
168
172
  'upcoming_payments' => 'upcoming_payments-input',
@@ -212,6 +216,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
212
216
  'month' => 'month-input',
213
217
  'name' => 'name-input',
214
218
  'payment_reference' => 'payment_reference-input',
219
+ 'retry_if_possible' => 'retry_if_possible-input',
215
220
  'start_date' => 'start_date-input',
216
221
  'status' => 'status-input',
217
222
  'upcoming_payments' => 'upcoming_payments-input',
@@ -280,6 +285,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
280
285
  'month' => 'month-input',
281
286
  'name' => 'name-input',
282
287
  'payment_reference' => 'payment_reference-input',
288
+ 'retry_if_possible' => 'retry_if_possible-input',
283
289
  'start_date' => 'start_date-input',
284
290
  'status' => 'status-input',
285
291
  'upcoming_payments' => 'upcoming_payments-input',
@@ -329,6 +335,8 @@ describe GoCardlessPro::Services::SubscriptionsService do
329
335
 
330
336
  expect(get_list_response.records.first.payment_reference).to eq('payment_reference-input')
331
337
 
338
+ expect(get_list_response.records.first.retry_if_possible).to eq('retry_if_possible-input')
339
+
332
340
  expect(get_list_response.records.first.start_date).to eq('start_date-input')
333
341
 
334
342
  expect(get_list_response.records.first.status).to eq('status-input')
@@ -388,6 +396,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
388
396
  'month' => 'month-input',
389
397
  'name' => 'name-input',
390
398
  'payment_reference' => 'payment_reference-input',
399
+ 'retry_if_possible' => 'retry_if_possible-input',
391
400
  'start_date' => 'start_date-input',
392
401
  'status' => 'status-input',
393
402
  'upcoming_payments' => 'upcoming_payments-input',
@@ -420,6 +429,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
420
429
  'month' => 'month-input',
421
430
  'name' => 'name-input',
422
431
  'payment_reference' => 'payment_reference-input',
432
+ 'retry_if_possible' => 'retry_if_possible-input',
423
433
  'start_date' => 'start_date-input',
424
434
  'status' => 'status-input',
425
435
  'upcoming_payments' => 'upcoming_payments-input',
@@ -461,6 +471,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
461
471
  'month' => 'month-input',
462
472
  'name' => 'name-input',
463
473
  'payment_reference' => 'payment_reference-input',
474
+ 'retry_if_possible' => 'retry_if_possible-input',
464
475
  'start_date' => 'start_date-input',
465
476
  'status' => 'status-input',
466
477
  'upcoming_payments' => 'upcoming_payments-input',
@@ -493,6 +504,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
493
504
  'month' => 'month-input',
494
505
  'name' => 'name-input',
495
506
  'payment_reference' => 'payment_reference-input',
507
+ 'retry_if_possible' => 'retry_if_possible-input',
496
508
  'start_date' => 'start_date-input',
497
509
  'status' => 'status-input',
498
510
  'upcoming_payments' => 'upcoming_payments-input',
@@ -530,6 +542,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
530
542
  'month' => 'month-input',
531
543
  'name' => 'name-input',
532
544
  'payment_reference' => 'payment_reference-input',
545
+ 'retry_if_possible' => 'retry_if_possible-input',
533
546
  'start_date' => 'start_date-input',
534
547
  'status' => 'status-input',
535
548
  'upcoming_payments' => 'upcoming_payments-input',
@@ -565,6 +578,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
565
578
  'month' => 'month-input',
566
579
  'name' => 'name-input',
567
580
  'payment_reference' => 'payment_reference-input',
581
+ 'retry_if_possible' => 'retry_if_possible-input',
568
582
  'start_date' => 'start_date-input',
569
583
  'status' => 'status-input',
570
584
  'upcoming_payments' => 'upcoming_payments-input',
@@ -613,6 +627,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
613
627
  'month' => 'month-input',
614
628
  'name' => 'name-input',
615
629
  'payment_reference' => 'payment_reference-input',
630
+ 'retry_if_possible' => 'retry_if_possible-input',
616
631
  'start_date' => 'start_date-input',
617
632
  'status' => 'status-input',
618
633
  'upcoming_payments' => 'upcoming_payments-input',
@@ -655,6 +670,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
655
670
  'month' => 'month-input',
656
671
  'name' => 'name-input',
657
672
  'payment_reference' => 'payment_reference-input',
673
+ 'retry_if_possible' => 'retry_if_possible-input',
658
674
  'start_date' => 'start_date-input',
659
675
  'status' => 'status-input',
660
676
  'upcoming_payments' => 'upcoming_payments-input',
@@ -774,6 +790,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
774
790
  'month' => 'month-input',
775
791
  'name' => 'name-input',
776
792
  'payment_reference' => 'payment_reference-input',
793
+ 'retry_if_possible' => 'retry_if_possible-input',
777
794
  'start_date' => 'start_date-input',
778
795
  'status' => 'status-input',
779
796
  'upcoming_payments' => 'upcoming_payments-input',
@@ -841,6 +858,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
841
858
  'month' => 'month-input',
842
859
  'name' => 'name-input',
843
860
  'payment_reference' => 'payment_reference-input',
861
+ 'retry_if_possible' => 'retry_if_possible-input',
844
862
  'start_date' => 'start_date-input',
845
863
  'status' => 'status-input',
846
864
  'upcoming_payments' => 'upcoming_payments-input',
@@ -899,6 +917,7 @@ describe GoCardlessPro::Services::SubscriptionsService do
899
917
  'month' => 'month-input',
900
918
  'name' => 'name-input',
901
919
  'payment_reference' => 'payment_reference-input',
920
+ 'retry_if_possible' => 'retry_if_possible-input',
902
921
  'start_date' => 'start_date-input',
903
922
  'status' => 'status-input',
904
923
  'upcoming_payments' => 'upcoming_payments-input',
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.16.1
4
+ version: 2.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GoCardless
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-29 00:00:00.000000000 Z
11
+ date: 2020-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -262,8 +262,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
262
262
  - !ruby/object:Gem::Version
263
263
  version: '0'
264
264
  requirements: []
265
- rubyforge_project:
266
- rubygems_version: 2.5.2.3
265
+ rubygems_version: 3.0.3
267
266
  signing_key:
268
267
  specification_version: 4
269
268
  summary: A gem for calling the GoCardless Pro API