rock_rms 5.5.0 → 5.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rock_rms/resources/refund.rb +3 -1
- data/lib/rock_rms/version.rb +1 -1
- data/spec/rock_rms/resources/refund_spec.rb +2 -3
- 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: 870060d86df164090957d778d3927ad9916ade3d
|
4
|
+
data.tar.gz: 1ca9283e89a5f81f974cb9b7acc7393c2be8a31e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4864199c84ee731c9629e657d01fc33d6d7eb607974850f4e06113af0a136c662277051bea3303ecb60f1b8ba4c1f70e2271b1547e2f48e4769931aa8aee5b4
|
7
|
+
data.tar.gz: 37236d2f406bf9b9f748792da70709b2e0a0e20fd226eeebeb33be9309b3a162f9b1fc3092fa5c9e30993681599be7009b1a055d8c4d3ad05be1dbec29732ab4
|
@@ -9,7 +9,8 @@ module RockRMS
|
|
9
9
|
reason_id:,
|
10
10
|
transaction_id:,
|
11
11
|
transaction_code: nil,
|
12
|
-
amount: nil
|
12
|
+
amount: nil,
|
13
|
+
gateway_id: nil
|
13
14
|
)
|
14
15
|
|
15
16
|
old_transaction = list_transactions(
|
@@ -27,6 +28,7 @@ module RockRMS
|
|
27
28
|
'FinancialTransaction' => {
|
28
29
|
'AuthorizedPersonAliasId' => old_transaction[:person_id],
|
29
30
|
'BatchId' => batch_id,
|
31
|
+
'FinancialGatewayId' => gateway_id,
|
30
32
|
'FinancialPaymentDetailId' => old_transaction[:payment_detail_id],
|
31
33
|
'TransactionCode' => transaction_code,
|
32
34
|
'TransactionDateTime' => date,
|
data/lib/rock_rms/version.rb
CHANGED
@@ -51,6 +51,7 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
|
|
51
51
|
'FinancialTransaction' => {
|
52
52
|
'AuthorizedPersonAliasId' => 120,
|
53
53
|
'BatchId' => 1,
|
54
|
+
'FinancialGatewayId' => nil,
|
54
55
|
'FinancialPaymentDetailId' => 156,
|
55
56
|
'TransactionDateTime' => '2018-02-01',
|
56
57
|
'TransactionDetails' => [{"Amount"=>-10.0, "AccountId"=>23}, {"Amount"=>-90.0, "AccountId"=>24}],
|
@@ -89,6 +90,7 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
|
|
89
90
|
'FinancialTransaction' => {
|
90
91
|
'AuthorizedPersonAliasId' => 120,
|
91
92
|
'BatchId' => 1,
|
93
|
+
'FinancialGatewayId' => nil,
|
92
94
|
'FinancialPaymentDetailId' => 156,
|
93
95
|
'TransactionDateTime' => '2018-02-01',
|
94
96
|
'TransactionDetails' => [{"Amount"=>-7.56, "AccountId"=>23}, {"Amount"=>-67.99, "AccountId"=>24}],
|
@@ -99,9 +101,6 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
|
|
99
101
|
.and_call_original
|
100
102
|
resource
|
101
103
|
end
|
102
|
-
|
103
104
|
end
|
104
|
-
|
105
105
|
end
|
106
|
-
|
107
106
|
end
|
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.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|