rock_rms 9.27.0 → 9.28.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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c2e7d03b8c15db4bcc3051c4d8ac070a34b2938b3bba6e1619704568c55cdd01
|
|
4
|
+
data.tar.gz: a265c3694cbf052c7ec8e7a988360f944ff72c239cbe23eef16281f1f18c1f7a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4377435d4c993814cf8fe57513f3450631bbd932551b88bf7976231a6ca03135c32b97053d1b3ab7ff6c99d2f23f676848dc26bed7a8fd5b4a737695dcc1332e
|
|
7
|
+
data.tar.gz: 9a807b75f2934fb2761772021ea979c7e80969afeef6f13ef79727bc439fa5b1b6fe5f15e14958dd176ced5d4fd5667f270915d3ceb39703b43b2b7c62cec480
|
|
@@ -18,7 +18,8 @@ module RockRMS
|
|
|
18
18
|
fee_amount: nil,
|
|
19
19
|
fee_coverage_amount: nil,
|
|
20
20
|
entity_type_id: nil,
|
|
21
|
-
entity_id: nil
|
|
21
|
+
entity_id: nil,
|
|
22
|
+
summary: nil
|
|
22
23
|
)
|
|
23
24
|
options = {}
|
|
24
25
|
options['AccountId'] = fund_id if fund_id
|
|
@@ -26,6 +27,7 @@ module RockRMS
|
|
|
26
27
|
options['FeeAmount'] = fee_amount if fee_amount
|
|
27
28
|
options['EntityTypeId'] = entity_type_id if entity_type_id
|
|
28
29
|
options['EntityId'] = entity_id if entity_id
|
|
30
|
+
options['Summary'] = summary if summary
|
|
29
31
|
options['FeeCoverageAmount'] = fee_coverage_amount if fee_coverage_amount
|
|
30
32
|
|
|
31
33
|
patch(transaction_detail_path(id), options)
|
|
@@ -38,7 +40,8 @@ module RockRMS
|
|
|
38
40
|
fee_amount: nil,
|
|
39
41
|
fee_coverage_amount: nil,
|
|
40
42
|
entity_type_id: nil,
|
|
41
|
-
entity_id: nil
|
|
43
|
+
entity_id: nil,
|
|
44
|
+
summary: nil
|
|
42
45
|
)
|
|
43
46
|
options = {}
|
|
44
47
|
options['TransactionId'] = transaction_id
|
|
@@ -48,7 +51,7 @@ module RockRMS
|
|
|
48
51
|
options['EntityTypeId'] = entity_type_id if entity_type_id
|
|
49
52
|
options['EntityId'] = entity_id if entity_id
|
|
50
53
|
options['FeeCoverageAmount'] = fee_coverage_amount if fee_coverage_amount
|
|
51
|
-
|
|
54
|
+
options['Summary'] = summary if summary
|
|
52
55
|
post(transaction_detail_path, options)
|
|
53
56
|
end
|
|
54
57
|
|
data/lib/rock_rms/version.rb
CHANGED
|
@@ -39,6 +39,9 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
39
39
|
client.update_transaction_detail(
|
|
40
40
|
123,
|
|
41
41
|
fund_id: 2,
|
|
42
|
+
entity_type_id: 1,
|
|
43
|
+
entity_id: 123,
|
|
44
|
+
summary: 'Big Bird'
|
|
42
45
|
)
|
|
43
46
|
end
|
|
44
47
|
|
|
@@ -51,7 +54,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
51
54
|
.with(
|
|
52
55
|
'FinancialTransactionDetails/123',
|
|
53
56
|
{
|
|
54
|
-
'AccountId' => 2
|
|
57
|
+
'AccountId' => 2,
|
|
58
|
+
'EntityTypeId' => 1,
|
|
59
|
+
'EntityId' => 123,
|
|
60
|
+
'Summary' => 'Big Bird'
|
|
55
61
|
}
|
|
56
62
|
).and_call_original
|
|
57
63
|
resource
|
|
@@ -88,7 +94,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
88
94
|
client.create_transaction_detail(
|
|
89
95
|
transaction_id: 123,
|
|
90
96
|
fund_id: 2,
|
|
91
|
-
amount: 5.00
|
|
97
|
+
amount: 5.00,
|
|
98
|
+
entity_type_id: 1,
|
|
99
|
+
entity_id: 123,
|
|
100
|
+
summary: 'Big Bird'
|
|
92
101
|
)
|
|
93
102
|
end
|
|
94
103
|
|
|
@@ -103,7 +112,10 @@ RSpec.describe RockRMS::Client::TransactionDetail, type: :model do
|
|
|
103
112
|
{
|
|
104
113
|
'AccountId' => 2,
|
|
105
114
|
'Amount' => 5.00,
|
|
106
|
-
'TransactionId' => 123
|
|
115
|
+
'TransactionId' => 123,
|
|
116
|
+
'EntityTypeId' => 1,
|
|
117
|
+
'EntityId' => 123,
|
|
118
|
+
'Summary' => 'Big Bird'
|
|
107
119
|
}
|
|
108
120
|
).and_call_original
|
|
109
121
|
resource
|