rock_rms 8.2.1 → 8.3.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: 906157b662079a651df09467cae0cfe9fed59e0b492fe195caf4d9feb1165e75
|
|
4
|
+
data.tar.gz: fc17a2347bf9f1b5010ffc5e168acce06f4f050c7ba564e63c3f473e2dd5a97e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d61c2e1cd08d374a0dd0acdf59a15474a32e166d48d9a0efc6609b7fa22b7114a7db2c7786cf0fad321627cc2a8d9cf4a4642bc255f35479a9d1783239e9f00
|
|
7
|
+
data.tar.gz: ea2852af00545801a8aa88d7c4d8c4f44fa970c81c026f5bd0b87da4158f11b9caf0ddc33b5ccf6fd742cd6bdd2ed574102b800631955ee7f592b960cd00f46b
|
|
@@ -33,7 +33,8 @@ module RockRMS
|
|
|
33
33
|
'TransactionCode' => transaction_code,
|
|
34
34
|
'TransactionDateTime' => date,
|
|
35
35
|
'TransactionDetails' => refunded_details(old_transaction[:details], transaction_amount, refund_amount),
|
|
36
|
-
'TransactionTypeValueId' => old_transaction[:transaction_type_id]
|
|
36
|
+
'TransactionTypeValueId' => old_transaction[:transaction_type_id],
|
|
37
|
+
'SourceTypeValueId' => old_transaction[:source_type_id]
|
|
37
38
|
}
|
|
38
39
|
}
|
|
39
40
|
post(refund_path, params)
|
|
@@ -13,7 +13,8 @@ module RockRMS
|
|
|
13
13
|
details: 'TransactionDetails',
|
|
14
14
|
payment_details: 'FinancialPaymentDetail',
|
|
15
15
|
payment_detail_id: 'FinancialPaymentDetailId',
|
|
16
|
-
transaction_type_id: 'TransactionTypeValueId'
|
|
16
|
+
transaction_type_id: 'TransactionTypeValueId',
|
|
17
|
+
source_type_id: 'SourceTypeValueId',
|
|
17
18
|
}.freeze
|
|
18
19
|
|
|
19
20
|
|
data/lib/rock_rms/version.rb
CHANGED
|
@@ -70,6 +70,7 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
'TransactionTypeValueId' => 53,
|
|
73
|
+
'SourceTypeValueId' => 10,
|
|
73
74
|
'TransactionCode' => nil
|
|
74
75
|
}
|
|
75
76
|
}
|
|
@@ -123,6 +124,7 @@ RSpec.describe RockRMS::Client::Refund, type: :model do
|
|
|
123
124
|
}
|
|
124
125
|
],
|
|
125
126
|
'TransactionTypeValueId' => 53,
|
|
127
|
+
'SourceTypeValueId' => 10,
|
|
126
128
|
'TransactionCode' => nil
|
|
127
129
|
}
|
|
128
130
|
}
|
|
@@ -22,6 +22,7 @@ RSpec.describe RockRMS::Response::Transaction, type: :model do
|
|
|
22
22
|
expect(r[:transaction_code]).to eq(p['TransactionCode'])
|
|
23
23
|
expect(r[:payment_detail_id]).to eq(p['FinancialPaymentDetailId'])
|
|
24
24
|
expect(r[:transaction_type_id]).to eq(p['TransactionTypeValueId'])
|
|
25
|
+
expect(r[:source_type_id]).to eq(p['SourceTypeValueId'])
|
|
25
26
|
expect(r[:details]).to eq(
|
|
26
27
|
RockRMS::Response::TransactionDetail.format(p['TransactionDetails'])
|
|
27
28
|
)
|
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: 8.
|
|
4
|
+
version: 8.3.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: 2023-
|
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|