synapse_payments 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.env.sample +1 -0
- data/README.md +4 -1
- data/bin/console +4 -0
- data/bin/setup +5 -0
- data/lib/synapse_payments/user_client.rb +1 -1
- data/lib/synapse_payments/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: ff75e9ea4805cec7c1cb265af96df0cacbcce840
|
4
|
+
data.tar.gz: 05fe8354ad4fadac362b954ab1566bd9b9c6ebb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06f4381c26e294338f75d5813e6ea86bd57fefcc9b6409cf1fbbff4ee2dd8475e49b73dbf2cc8cfc3925379fdaba74381ea7785dcc0351a1face68d2568e7841
|
7
|
+
data.tar.gz: 1a6e45ed49b7b71d1a75051e7fd2d82cf2a4339b6b10fdc32a50053b2fedac42dddf583ed7e344ab0d5f0f8a2568459484fb776af46576b1337b4c7859c55a23
|
data/.env.sample
CHANGED
data/README.md
CHANGED
@@ -34,9 +34,12 @@ Check out [samples.md](samples.md) to review how to use this library.
|
|
34
34
|
gem install bundler --no-rdoc --no-ri
|
35
35
|
|
36
36
|
3. From project root run `./bin/setup` script
|
37
|
-
4. Run `./bin/console`
|
37
|
+
4. Run `./bin/console` to experiment with an authenticated `client` and `fingerprint`:
|
38
38
|
|
39
39
|
```ruby
|
40
|
+
fingerprint
|
41
|
+
# => acb123...
|
42
|
+
|
40
43
|
users = client.users.all
|
41
44
|
puts users
|
42
45
|
# => {...
|
data/bin/console
CHANGED
data/bin/setup
CHANGED
@@ -22,8 +22,13 @@ echo "Enter your account credentials below."
|
|
22
22
|
read -p 'Client ID: ' client_id
|
23
23
|
read -p 'Client Secret: ' client_secret
|
24
24
|
|
25
|
+
echo "To retrieve your sandbox fingerprint, login and use Element Inspector."
|
26
|
+
echo "In the console type sessionStorage.fingerprint, copy value and enter below."
|
27
|
+
read -p 'Fingerprint: ' fingerprint
|
28
|
+
|
25
29
|
cp .env.sample .env
|
26
30
|
sed -i -e s/YOUR_CLIENT_ID/"$client_id"/g .env
|
27
31
|
sed -i -e s/YOUR_CLIENT_SECRET/"$client_secret"/g .env
|
32
|
+
sed -i -e s/YOUR_FINGERPRINT/"$fingerprint"/g .env
|
28
33
|
|
29
34
|
echo "Done."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synapse_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Julio
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|