paypoint-blue 1.0.3 → 1.0.4

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: 202bbdd455262fba3598c8f415f3fbaece682ddce23867b15b3048e6516386fe
4
- data.tar.gz: c3615ca75516a1dd1264a37a8adcf99bd85e97c4a2a04d7b0e88f0d29784e785
3
+ metadata.gz: bb5dff3e392d8c738391d61586ab106d52867a22cdb100ee54567c44aac4ef21
4
+ data.tar.gz: 13535878fc6f73ac2c81201fcc5df04964eb468b27f762000e4991bc83674ed3
5
5
  SHA512:
6
- metadata.gz: 736659c3996c73b5ebbc315494fc16cd25c83b27982b24296654825ee92357fb92b59bcf7565089348f0e27eb9fdc21f6a7e7c1440afec2f1306c960b7145c5a
7
- data.tar.gz: e242de7b2c68db731d006724a7a100ee08bdca4a50f8466344e7c9799d854a56ea54ca84a6fbb74bec334ff5bcc20089962b7e1f0fd122e605ed068b48df2a1d
6
+ metadata.gz: e73cf17b9f6777c2f38024bf6040c0defa8b2d5b35dcc8844dad00fb16b3577b33986a76f5e87d6067c9a08757448b6139996768be0532e3cc89370df40047b6
7
+ data.tar.gz: 07bf007f52f5e42988fb8c439647e89761afcbe4366e9fb7f5469c70701f7f8ce022f07dfbb7016b40f8654fcdd603cb9e815a69c789686bf62d92d29b248fcd
@@ -229,4 +229,9 @@ class PayPoint::Blue::API < PayPoint::Blue::Base
229
229
  def customer_payment_method(customer_id, token)
230
230
  client.get "customers/#{inst_id}/#{customer_id}/paymentMethods/#{token}"
231
231
  end
232
+
233
+ # Remove card
234
+ def remove_card(customer_id, token)
235
+ client.post "customers/#{inst_id}/#{customer_id}/paymentMethod/#{token}/remove"
236
+ end
232
237
  end
@@ -1,5 +1,5 @@
1
1
  module PayPoint
2
2
  module Blue
3
- VERSION = "1.0.3".freeze
3
+ VERSION = "1.0.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paypoint-blue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laszlo Bacsi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday