rock_rms 4.12.2 → 4.12.3
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.
- checksums.yaml +4 -4
- data/lib/rock_rms/error.rb +1 -0
- data/lib/rock_rms/resources/transaction.rb +8 -6
- data/lib/rock_rms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e76ed6931e3e3ba5413bffaf4b69bec21f092cbf
|
|
4
|
+
data.tar.gz: 9bd81c05db0db677b8146f71be4a655d654f5154
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 275b494aeb227aa922ba6571c74c29604350b882c02b0b65059e23cdd10aad21a10def601ed09b099cdb51c6f996b3cbd4c27487b07fa458b0549ee3d6b20c88
|
|
7
|
+
data.tar.gz: 5453d5327af4ae699e29e942ef53457f70981f2de4e910435d068e8002a8ffb64810d066452f3e188c402949af8fd20826fe4bbb1cece6763b2b3a426eba4de6
|
data/lib/rock_rms/error.rb
CHANGED
|
@@ -56,17 +56,19 @@ module RockRMS
|
|
|
56
56
|
gateway_id: nil,
|
|
57
57
|
source_type_id: nil,
|
|
58
58
|
transaction_code: nil,
|
|
59
|
-
transaction_type_value_id: nil
|
|
59
|
+
transaction_type_value_id: nil,
|
|
60
|
+
authorized_person_id: nil
|
|
60
61
|
)
|
|
61
62
|
options = {}
|
|
62
63
|
|
|
63
64
|
options['Summary'] = summary if summary
|
|
64
65
|
options['BatchId'] = batch_id if batch_id
|
|
65
|
-
options['FinancialGatewayId']
|
|
66
|
-
options['ScheduledTransactionId']
|
|
67
|
-
options['SourceTypeValueId']
|
|
68
|
-
options['TransactionTypeValueId']
|
|
69
|
-
options['TransactionCode']
|
|
66
|
+
options['FinancialGatewayId'] = gateway_id if gateway_id
|
|
67
|
+
options['ScheduledTransactionId'] = recurring_donation_id if recurring_donation_id
|
|
68
|
+
options['SourceTypeValueId'] = source_type_id if source_type_id
|
|
69
|
+
options['TransactionTypeValueId'] = transaction_type_value_id if transaction_type_value_id
|
|
70
|
+
options['TransactionCode'] = transaction_code if transaction_code
|
|
71
|
+
options['AuthorizedPersonAliasId'] = authorized_person_id if authorized_person_id
|
|
70
72
|
|
|
71
73
|
patch(transaction_path(id), options)
|
|
72
74
|
end
|
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: 4.12.
|
|
4
|
+
version: 4.12.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Brooks
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|