payture_api 0.1.9 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/payture/card.rb +5 -0
- data/lib/payture/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c07ebf3fec6ebbd15b780bf632286186ea0679
|
4
|
+
data.tar.gz: f2c552c714d8cf0a3ef921a5b3abbe4e6e5736c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21c38cca4bcfd35076204d7994a05d8b5c04cf0e070f678b2e2f28c34c167a18a47be01d3bb98db091f77011a53fc07bcdd544812e1591482f2d0dde8de6efbf
|
7
|
+
data.tar.gz: ded826a87337620b15dbb58e50106996ec215411c8173c69459a8adc34fda432b212d18af466dc4f5c988894058006e41333cc6b6158fc6138dfb316544dd1d2
|
data/lib/payture/card.rb
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
class Payture::Card < Payture::Wallet
|
2
2
|
|
3
3
|
PATH_LIST = '/vwapi/GetList'
|
4
|
+
PATH_REMOVE = '/vwapi/Remove'
|
4
5
|
|
5
6
|
def list(vwid, data)
|
6
7
|
self.request(PATH_LIST, vwid, data)
|
7
8
|
end
|
8
9
|
|
10
|
+
def remove(vwid, data)
|
11
|
+
self.request(PATH_REMOVE, vwid, data)
|
12
|
+
end
|
13
|
+
|
9
14
|
end
|
data/lib/payture/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payture_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kirill
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|