rock_rms 6.0.6 → 6.0.7
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: 1e008fb1fcc7c3fd5ae8b524a0766c89d1232b36fddf8c183bdb56ccf60e5bb1
|
|
4
|
+
data.tar.gz: a8543f772e1c1feffbb5b233856346d21681442d7cd2309e251b8caba8c1c0f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e314b9a967d888d66115508937ea4923ce2b33e542788a0c697352e89f6e491658f71307b369770d898306dfd3291d531c10567ac745a8076eaa52dd31db1a6f
|
|
7
|
+
data.tar.gz: d4344e82e132d901b2024cdb8b3c49b530dba68aba909454810019080738069d9a9a5e43f17e441dd294edb75e177e52180d6c43b02bd098852383d4c5543269
|
|
@@ -9,6 +9,7 @@ module RockRMS
|
|
|
9
9
|
def create_saved_payment_method(
|
|
10
10
|
gateway_id:,
|
|
11
11
|
gateway_person_id: nil,
|
|
12
|
+
is_default: 0,
|
|
12
13
|
payment_detail_id:,
|
|
13
14
|
person_alias_id:,
|
|
14
15
|
name:,
|
|
@@ -17,6 +18,7 @@ module RockRMS
|
|
|
17
18
|
options = {
|
|
18
19
|
'FinancialGatewayId' => gateway_id,
|
|
19
20
|
'FinancialPaymentDetailId' => payment_detail_id,
|
|
21
|
+
'IsDefault' => is_default,
|
|
20
22
|
'Name' => name,
|
|
21
23
|
'PersonAliasId' => person_alias_id,
|
|
22
24
|
'ReferenceNumber' => reference_number
|
|
@@ -33,6 +35,7 @@ module RockRMS
|
|
|
33
35
|
id,
|
|
34
36
|
gateway_id: nil,
|
|
35
37
|
gateway_person_id: nil,
|
|
38
|
+
is_default: nil,
|
|
36
39
|
payment_detail_id: nil,
|
|
37
40
|
person_alias_id: nil,
|
|
38
41
|
name: nil,
|
|
@@ -42,6 +45,7 @@ module RockRMS
|
|
|
42
45
|
|
|
43
46
|
options['FinancialGatewayId'] = gateway_id if gateway_id
|
|
44
47
|
options['GatewayPersonIdentifier'] = gateway_person_id if gateway_person_id
|
|
48
|
+
options['IsDefault'] = is_default if is_default
|
|
45
49
|
options['FinancialPaymentDetailId'] = payment_detail_id if payment_detail_id
|
|
46
50
|
options['Name'] = name if name
|
|
47
51
|
options['PersonAliasId'] = person_alias_id if person_alias_id
|
data/lib/rock_rms/version.rb
CHANGED
|
@@ -60,6 +60,7 @@ RSpec.describe RockRMS::Client::SavedPaymentMethod, type: :model do
|
|
|
60
60
|
'Name' => 'Sapphire Preferred',
|
|
61
61
|
'ReferenceNumber' => 'card_1234',
|
|
62
62
|
'PersonAliasId' => 1,
|
|
63
|
+
'IsDefault' => 0,
|
|
63
64
|
'FinancialGatewayId' => 2,
|
|
64
65
|
'FinancialPaymentDetailId' => 1
|
|
65
66
|
).and_call_original
|
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: 6.0.
|
|
4
|
+
version: 6.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taylor Brooks
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-07-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|