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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39c3b2fd5e48845371b3ec827d43176b0a2bacdc
4
- data.tar.gz: 10da49a876240b9815ecad75c8b27bd825bbe651
3
+ metadata.gz: 306046a6a84bebe48cefe02eaa0e89ebac53ee8e
4
+ data.tar.gz: c6bdf475ad54e5fd11e30b8cea9ebddb39b70340
5
5
  SHA512:
6
- metadata.gz: 7b701ca4f2da021dc92d949a1173f3c29bb1833b308fd2869a4c66dec5e87bebf6a61d0fd4af1d431b047f3a2a43d4174ff8fb2ae7d4294b11ee39509000530c
7
- data.tar.gz: 101fd9f33e05eb4f2ef6d68c97d110d1fbdfc0a6323b5ded800615a891e4bf21eb1e644bdb325c81d304fac52fcaa5dd4ff32e14d9752b98b2747eafc2a9cac6
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 customer was created
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-customer
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
 
@@ -1,6 +1,6 @@
1
1
  module CoinqvestMerchantSDK
2
2
 
3
- CLIENT_VERSION = '0.0.3'
3
+ CLIENT_VERSION = '0.0.4'
4
4
 
5
5
  CLIENT_NAME = 'ruby_merchant_sdk'
6
6
 
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.3
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-10 00:00:00.000000000 Z
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client