rock_rms 5.14.0 → 5.15.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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38a5f0a7bc780afd9b9b3115d567198b1d44314f3d66ba51ec3d8102ea8a1b89
|
4
|
+
data.tar.gz: d741e1c8f38e8a58f32155932cc2f0e6b385b66d34fe44b58e270b77019246ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d6f9707b40172016072805389d42a675e6ea250be0d8dc0bb9db9a202ef0192a78aec34af59789dddc2e45391c79a3cce6de2f06e0b03210940eac4e536ff2
|
7
|
+
data.tar.gz: 3bb11888fde235dacff1b9fa590217186fbacb4aca7579de2f7c055114d8fb4160e8ef16e2138e2654809733ab72b91f164b6ccc911dfa7bd4a1c8c6243afab5
|
@@ -17,6 +17,7 @@ module RockRMS
|
|
17
17
|
foreign_key: nil,
|
18
18
|
frequency:,
|
19
19
|
funds:,
|
20
|
+
end_date: nil,
|
20
21
|
gateway_id: nil,
|
21
22
|
gateway_schedule_id: nil,
|
22
23
|
next_payment_date:,
|
@@ -40,6 +41,9 @@ module RockRMS
|
|
40
41
|
'SourceTypeValueId' => source_type_id,
|
41
42
|
'ForeignKey' => foreign_key
|
42
43
|
}
|
44
|
+
|
45
|
+
options['EndDate'] = end_date if end_date
|
46
|
+
|
43
47
|
post(recurring_donation_path, options)
|
44
48
|
end
|
45
49
|
|
@@ -49,13 +53,15 @@ module RockRMS
|
|
49
53
|
transaction_code: nil,
|
50
54
|
payment_detail_id: nil,
|
51
55
|
active: nil,
|
52
|
-
frequency: nil
|
56
|
+
frequency: nil,
|
57
|
+
end_date: nil
|
53
58
|
)
|
54
59
|
options = { 'NextPaymentDate' => next_payment_date }
|
55
60
|
options['FinancialPaymentDetailId'] = payment_detail_id if payment_detail_id
|
56
61
|
options['TransactionCode'] = transaction_code if transaction_code
|
57
62
|
options['IsActive'] = active if !active.nil?
|
58
63
|
options['TransactionFrequencyValueId'] = RecurringFrequencies::RECURRING_FREQUENCIES[frequency] if !frequency.nil?
|
64
|
+
options['EndDate'] = end_date if end_date
|
59
65
|
|
60
66
|
patch(recurring_donation_path(id), options)
|
61
67
|
end
|
@@ -7,6 +7,7 @@ module RockRMS
|
|
7
7
|
financial_gateway_id: 'FinancialGatewayId',
|
8
8
|
foreign_key: 'ForeignKey',
|
9
9
|
frequency: 'TransactionFrequencyValueId',
|
10
|
+
end_date: 'EndDate',
|
10
11
|
gateway_schedule_id: 'GatewayScheduleId',
|
11
12
|
next_payment_date: 'NextPaymentDate',
|
12
13
|
payment_details: 'FinancialPaymentDetail',
|
data/lib/rock_rms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rock_rms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.
|
4
|
+
version: 5.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -339,7 +339,7 @@ homepage: https://github.com/taylorbrooks/rock_rms
|
|
339
339
|
licenses:
|
340
340
|
- MIT
|
341
341
|
metadata: {}
|
342
|
-
post_install_message:
|
342
|
+
post_install_message:
|
343
343
|
rdoc_options: []
|
344
344
|
require_paths:
|
345
345
|
- lib
|
@@ -355,7 +355,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
355
355
|
version: '0'
|
356
356
|
requirements: []
|
357
357
|
rubygems_version: 3.1.4
|
358
|
-
signing_key:
|
358
|
+
signing_key:
|
359
359
|
specification_version: 4
|
360
360
|
summary: A Ruby wrapper for the Rock RMS API
|
361
361
|
test_files: []
|