synapse_pay_rest 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/synapse_pay_rest.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b1ef35d127aa2be9154a4eb3e1a45728865ec18
|
4
|
+
data.tar.gz: 4d30c7da8e258367fa4b927fe8621ca953fcf405
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 997aa49d829e2cda89655eb1674ae60941a15a108304c997b4d3d99c050c75ea15637d3315c5b78f36c0b9b141e37df3f88df6fbe970ffcebba15f3c10457741
|
7
|
+
data.tar.gz: 52bc9579e46c55047d32bccb053f0d58cde0aaf93a500ad93a6f58f7f595a2e45604988fd6d015fa67fa3eef148c4f42802af6ac8a3b962eaef2396293568d87
|
data/lib/synapse_pay_rest.rb
CHANGED
@@ -13,7 +13,8 @@ module SynapsePayRest
|
|
13
13
|
attr_accessor :nodes
|
14
14
|
attr_accessor :trans
|
15
15
|
|
16
|
-
def initialize(options:
|
16
|
+
def initialize(options: raise("options is required")
|
17
|
+
, user_id: nil)
|
17
18
|
base_url = 'https://synapsepay.com/api/3'
|
18
19
|
if options.has_key?('development_mode')
|
19
20
|
if options['development_mode']
|