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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 731ed28bf1b60f1641ad4a1c958742372f7faafc
4
- data.tar.gz: 65adc4fd4978f9684c1bcef42ef372ad9057aa8e
3
+ metadata.gz: dc90209e369247c11780a14596b54ea86fe139a9
4
+ data.tar.gz: a80b35783d385ba06e630c8d06d25274e35e7c89
5
5
  SHA512:
6
- metadata.gz: 71d64f49f4a5863106093f7456fd89f1f5f8c8d65ee60c1b057ac671ac8cede537d276b2b60244f8ff0c612ff2bf4f020ec2dd05223ab0152f2cef38dd744fd3
7
- data.tar.gz: 418691b52eba9ff467bc4f58a2ff9afb8273872424132a077c9821cba75cc50db60a77c79e608f0f4ed8510b41667ba381612f12bd43942faea70d26f0bd80d9
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
@@ -1,3 +1,3 @@
1
1
  module GarnetClient
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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-01 00:00:00.000000000 Z
11
+ date: 2018-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty