coinqvest_merchant_sdk 0.0.3 → 0.0.4
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/examples/example.rb +2 -2
- data/lib/coinqvest_merchant_sdk/config.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: 306046a6a84bebe48cefe02eaa0e89ebac53ee8e
|
4
|
+
data.tar.gz: c6bdf475ad54e5fd11e30b8cea9ebddb39b70340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efe0dbe0a5d4962881816eb458ba32b63c207a5d974c0e7b6c5655a6660c15a9cbfdecf1597f647e94f817bc3733701a197f1d97ac41d13dd130f33c97dd4179
|
7
|
+
data.tar.gz: b6c21b5da3cd7d3a8981d9016b9558bd30aa2bfd49a4bce32164485ff8ec02fc2808ade12e9eea7c9d6badbea3a8af15433968f119ce217dd6b4fae34c525a15
|
data/examples/example.rb
CHANGED
@@ -92,9 +92,9 @@ if response.code != 200
|
|
92
92
|
exit 1
|
93
93
|
end
|
94
94
|
|
95
|
-
# the
|
95
|
+
# the checkout was created
|
96
96
|
data = JSON.parse(response.body)
|
97
|
-
# data now contains an object as specified in the success response here: https://www.coinqvest.com/en/api-docs#post-
|
97
|
+
# data now contains an object as specified in the success response here: https://www.coinqvest.com/en/api-docs#post-checkout
|
98
98
|
checkout_id = data["checkoutId"] # store this persistently in your database
|
99
99
|
url = data["url"] # redirect your customer to this URL to complete the payment
|
100
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coinqvest_merchant_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- COINQVEST Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|