rock_rms 6.0.7 → 6.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1e008fb1fcc7c3fd5ae8b524a0766c89d1232b36fddf8c183bdb56ccf60e5bb1
4
- data.tar.gz: a8543f772e1c1feffbb5b233856346d21681442d7cd2309e251b8caba8c1c0f8
3
+ metadata.gz: 281809a16889264042ae567d225929e212fef4ab98eaa240498e262603b18828
4
+ data.tar.gz: e1208d3da16704766b4707db5a6c69895ee45d9ca87b915b12711ad9c88ec8fa
5
5
  SHA512:
6
- metadata.gz: e314b9a967d888d66115508937ea4923ce2b33e542788a0c697352e89f6e491658f71307b369770d898306dfd3291d531c10567ac745a8076eaa52dd31db1a6f
7
- data.tar.gz: d4344e82e132d901b2024cdb8b3c49b530dba68aba909454810019080738069d9a9a5e43f17e441dd294edb75e177e52180d6c43b02bd098852383d4c5543269
6
+ metadata.gz: 02f11de776f0c06c6efd3b7d9789a70b7c0c3a68c612184489a12320b08de52cd94222614ad6f33a764c73089327f7f2520fdf847d39f9d3b057f99cac9f144b
7
+ data.tar.gz: b30814b7f958bdb0e0cb8437f2a60bd36179715667309105b085ba8077176f7d086020869a4e587997ce77e14085a0acd352d5600897be2bd2b30bfba23fa15d
@@ -17,6 +17,16 @@ module RockRMS
17
17
  post(payment_detail_path, options)
18
18
  end
19
19
 
20
+ def update_payment_detail(id, foreign_key: nil, card_type: nil, last_4: nil)
21
+ options = {}
22
+
23
+ options['CreditCardTypeValueId'] = cast_card_type(card_type) if card_type
24
+ options['ForeignKey'] = foreign_key if foreign_key
25
+ options['AccountNumberMasked'] = "************#{last_4}" if last_4
26
+
27
+ patch(payment_detail_path(id), options)
28
+ end
29
+
20
30
  def delete_payment_detail(id)
21
31
  delete(payment_detail_path(id))
22
32
  end
@@ -1,3 +1,3 @@
1
1
  module RockRMS
2
- VERSION = '6.0.7'.freeze
2
+ VERSION = '6.0.8'.freeze
3
3
  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: 6.0.7
4
+ version: 6.0.8
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-07-11 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday