payture_api 0.1.8 → 0.1.9
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 +4 -4
- data/README.md +16 -0
- data/lib/payture/card.rb +5 -5
- 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: 8a3edd7d1e2d500ab4c40c9a2f030753b906cf4e
|
4
|
+
data.tar.gz: 6d937157b303252427b884f212591212a8a744fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa4280260835e64c82b64305eb1711229826648d856d44ec1625bfff7961d81eeb1d358d86511d63d6c53ce3489c34763e428d9424c8587e7dd9148d45b16b94
|
7
|
+
data.tar.gz: f0a98cb7762f2813f06cbdf75279d28a62e973d7dd06e17972e2d3c3d7f7f5a468c2ef149e36ef4d20945a9ceaf5782ad6f7bbbebe7fa56b65f50094d8f8b755
|
data/README.md
CHANGED
@@ -123,6 +123,22 @@ wallet = Payture::User.new(HOST)
|
|
123
123
|
result = wallet.delete(MERCHANT_ADD, payload)
|
124
124
|
```
|
125
125
|
|
126
|
+
### Payture::Cards
|
127
|
+
|
128
|
+
#### GetList
|
129
|
+
```ruby
|
130
|
+
HOST = ENV['PAYTURE_HOST'] // i.e. sandbox.payture.com
|
131
|
+
MERCHANT_ADD = ENV['PAYTURE_ADD'] // VWMerchantExampleAdd
|
132
|
+
|
133
|
+
payload = {
|
134
|
+
VWUserLgn: @user.email,
|
135
|
+
VWUserPsw: @user.token
|
136
|
+
}
|
137
|
+
|
138
|
+
wallet = Payture::Cards.new(HOST)
|
139
|
+
result = wallet.list(MERCHANT_ADD, payload)
|
140
|
+
```
|
141
|
+
|
126
142
|
## Contributing
|
127
143
|
|
128
144
|
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/payture_ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/lib/payture/card.rb
CHANGED
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.1.
|
4
|
+
version: 0.1.9
|
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-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|