rock_rms 8.20.0 → 8.21.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/payment_detail.rb +9 -2
- data/lib/rock_rms/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1e0edb506babdff02df7b17a55d345d166e14e7c82d74a3851f2f7ced4bdc1e
|
4
|
+
data.tar.gz: 1366b2457dc65eda9a4700676c6bddd92bd13c5ac00a5a0885434a29d42144a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c42841eb19d491c68faeb41d6793550bf8db7c638187f55a6668b7337bddc110f815e4f03b4b9a8df2fbdc4a0d913e1a6b08dee9947c6bd9dc47e7b661a534c
|
7
|
+
data.tar.gz: dd5c399cee1798dfd60a32be25d995d9e4cd0bdc2a883004ac11ed03fb4c8a08f713df2908c6af16bf7b787e526b325a71cd972a4f82f060cae15301158daa8d
|
@@ -6,12 +6,19 @@ module RockRMS
|
|
6
6
|
Response::PaymentDetail.format(res)
|
7
7
|
end
|
8
8
|
|
9
|
-
def create_payment_detail(
|
9
|
+
def create_payment_detail(
|
10
|
+
payment_type:,
|
11
|
+
foreign_key: nil,
|
12
|
+
card_type: nil,
|
13
|
+
last_4: nil,
|
14
|
+
currency_type_value_id: nil
|
15
|
+
)
|
10
16
|
options = {
|
11
|
-
'CurrencyTypeValueId' => cast_payment_type(payment_type),
|
17
|
+
'CurrencyTypeValueId' => currency_type_value_id || cast_payment_type(payment_type),
|
12
18
|
'CreditCardTypeValueId' => cast_card_type(card_type),
|
13
19
|
'ForeignKey' => foreign_key
|
14
20
|
}
|
21
|
+
|
15
22
|
options['AccountNumberMasked'] = "************#{last_4}" if last_4
|
16
23
|
|
17
24
|
post(payment_detail_path, options)
|
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: 8.
|
4
|
+
version: 8.21.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: 2024-
|
11
|
+
date: 2024-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|