garnet_client 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/garnet_client/service.rb +2 -1
- data/lib/garnet_client/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: dc90209e369247c11780a14596b54ea86fe139a9
|
4
|
+
data.tar.gz: a80b35783d385ba06e630c8d06d25274e35e7c89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba9753b1129266b330f66a10b598a60c0787a65cce0b4b4ca5725da5aeb00967fbdb60e0d5eabffde0ced795926e4dc8226e23f6c4494cd5c57b899cf5d18f88
|
7
|
+
data.tar.gz: a53752138c35d662130035225b256992743ecda0670be23b679066e6d0632d4d33d41ce899f1c8e88c14a2543953b95970a1528105c58f5848d371dec0a08f5f
|
@@ -22,9 +22,10 @@ module GarnetClient
|
|
22
22
|
end
|
23
23
|
|
24
24
|
# 发送一笔转账
|
25
|
-
def self.tx_transfer(coin_type, from, to, value)
|
25
|
+
def self.tx_transfer(coin_type, source_id, from, to, value)
|
26
26
|
service_path = "/tx/#{coin_type}/transfer"
|
27
27
|
post_params = {
|
28
|
+
"source_id" => source_id,
|
28
29
|
"from" => from,
|
29
30
|
"to" => to,
|
30
31
|
"value" => value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garnet_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tarzansos
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|