coinone 0.7.0 → 0.8.0.a
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 +4 -4
- data/CHANGE_LOG.md +3 -0
- data/README.md +12 -4
- data/lib/coinone/account/account_info/fee_rates.rb +2 -0
- data/lib/coinone/account/deposit_address.rb +2 -0
- data/lib/coinone/account/deposit_address/wallet.rb +6 -0
- data/lib/coinone/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15be68fa2639e910df400836f8d26bd7f250fe3b
|
4
|
+
data.tar.gz: 38ae5b534694be7c5a58b0c38801e7d379743577
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a12d32d5a83b0622d8b42963cded99a6d83403aa2166795140b2d7835d83fb37b415c1f45dd4dce830e3a8c18327c7e8bfa495dfb01e43af72eaf7d868644d4
|
7
|
+
data.tar.gz: 0b98314a2378fbb0f24accd1f58ef31f2984f03301bc4ccf9cdab5ed40f93e34d8dad1ae06d2920c8bb1b32db428965efb126215197e8ce09ff7332d1d5d8a59
|
data/CHANGE_LOG.md
CHANGED
data/README.md
CHANGED
@@ -307,16 +307,18 @@ eth_orderbook = Coinone::Public.get_orderbook(currency: "eth") # ETH Orderbook
|
|
307
307
|
|
308
308
|
etc_orderbook = Coinone::Public.get_orderbook(currency: "etc") # ETC Orderbook
|
309
309
|
|
310
|
+
xrp_orderbook = Coinone::Public.get_orderbook(currency: "xrp") # XRP Orderbook
|
311
|
+
|
310
312
|
```
|
311
313
|
|AttributeName | Class | Description|
|
312
314
|
|----------- | ------------- | -------------|
|
313
315
|
|result | String | Request's result|
|
314
316
|
|ask |Array|Ask List.|
|
315
317
|
|- price|Integer|Ask KRW price.|
|
316
|
-
|- qty|Float|Ask BTC(or ETH, ETC) quantity.|
|
318
|
+
|- qty|Float|Ask BTC(or ETH, ETC, XRP) quantity.|
|
317
319
|
|bid|Array|Bid List.|
|
318
320
|
|- price |Integer|Bid KRW price.|
|
319
|
-
|- qty|Float|Bid BTC(or ETH, ETC) quantity.|
|
321
|
+
|- qty|Float|Bid BTC(or ETH, ETC, XRP) quantity.|
|
320
322
|
|timestamp|Integer|Timestamp.|
|
321
323
|
|currency|String |Currency.|
|
322
324
|
|
@@ -337,6 +339,10 @@ etc_hour_complete_orders = Coinone::Public.get_complete_orders(currency: "etc",
|
|
337
339
|
|
338
340
|
etc_day_complete_orders = Coinone::Public.get_complete_orders(currency: "etc", period: "day") # ETC and Hour Complete Orders
|
339
341
|
|
342
|
+
xrp_hour_complete_orders = Coinone::Public.get_complete_orders(currency: "xrp", period: "hour") # XRP and Hour Complete Orders
|
343
|
+
|
344
|
+
xrp_day_complete_orders = Coinone::Public.get_complete_orders(currency: "xrp", period: "day") # XRP and Hour Complete Orders
|
345
|
+
|
340
346
|
```
|
341
347
|
|
342
348
|
|AttributeName | Class | Description|
|
@@ -357,10 +363,12 @@ ticker = Coinone::Public.get_ticker # Default "BTC"
|
|
357
363
|
|
358
364
|
btc_ticker = Coinone::Public.get_ticker(currency: "btc") # BTC Ticker
|
359
365
|
|
360
|
-
|
366
|
+
eth_ticker = Coinone::Public.get_ticker(currency: "eth") # ETH Ticker
|
361
367
|
|
362
368
|
etc_ticker = Coinone::Public.get_ticker(currency: "etc") # ETC Ticker
|
363
369
|
|
370
|
+
xrp_ticker = Coinone::Public.get_ticker(currency: "xrp") # ETC Ticker
|
371
|
+
|
364
372
|
all_ticker = Coinone::Public.get_ticker(currency: "all") # ALL Ticker
|
365
373
|
|
366
374
|
```
|
@@ -512,7 +520,7 @@ The Documentation is at [Coinone Docs](http://doc.coinone.co.kr/)
|
|
512
520
|
|
513
521
|
## Change Log
|
514
522
|
|
515
|
-
Current Version 0.
|
523
|
+
Current Version 0.8.0.a
|
516
524
|
|
517
525
|
This link listing [Change Log](https://github.com/ggomagundan/coinone/blob/master/CHANGE_LOG.md)
|
518
526
|
|
@@ -10,6 +10,7 @@ module Coinone
|
|
10
10
|
@btc = FeeRate.new()
|
11
11
|
@eth = FeeRate.new()
|
12
12
|
@etc = FeeRate.new()
|
13
|
+
@xrp = FeeRate.new()
|
13
14
|
update_info(params)
|
14
15
|
end
|
15
16
|
|
@@ -17,6 +18,7 @@ module Coinone
|
|
17
18
|
@btc.update_info(params[:btc]) if params.has_key? :btc
|
18
19
|
@eth.update_info(params[:eth]) if params.has_key? :eth
|
19
20
|
@etc.update_info(params[:etc]) if params.has_key? :etc
|
21
|
+
@xrp.update_info(params[:xrp]) if params.has_key? :xrp
|
20
22
|
end
|
21
23
|
end
|
22
24
|
|
@@ -14,6 +14,7 @@ module Coinone
|
|
14
14
|
@btc = Wallet.new()
|
15
15
|
@eth = Wallet.new()
|
16
16
|
@etc = Wallet.new()
|
17
|
+
@xrp = Wallet.new()
|
17
18
|
|
18
19
|
update_address(options)
|
19
20
|
|
@@ -27,6 +28,7 @@ module Coinone
|
|
27
28
|
@btc.update_address(address) if address.has_key? :btc
|
28
29
|
@eth.update_address(address) if address.has_key? :eth
|
29
30
|
@etc.update_address(address) if address.has_key? :etc
|
31
|
+
@xrp.update_address(address) if address.has_key? :xrp
|
30
32
|
end
|
31
33
|
|
32
34
|
end
|
@@ -7,10 +7,12 @@ module Coinone
|
|
7
7
|
class Wallet
|
8
8
|
|
9
9
|
attr_reader :address
|
10
|
+
attr_reader :destination_tag
|
10
11
|
|
11
12
|
def initialize(options={})
|
12
13
|
|
13
14
|
@address = nil
|
15
|
+
@destination_tag = nil
|
14
16
|
|
15
17
|
update_address(options)
|
16
18
|
end
|
@@ -20,6 +22,10 @@ module Coinone
|
|
20
22
|
@address = params[:btc] if params.has_key? :btc
|
21
23
|
@address = params[:eth] if params.has_key? :eth
|
22
24
|
@address = params[:etc] if params.has_key? :etc
|
25
|
+
if params.has_key? :xrp
|
26
|
+
@address = params[:xrp] if params.has_key? :xrp
|
27
|
+
@destination_tag = params[:destinationTag] if params.has_key? :destinationTag
|
28
|
+
end
|
23
29
|
|
24
30
|
end
|
25
31
|
|
data/lib/coinone/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coinone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0.a
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kai Park
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -200,9 +200,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
200
200
|
version: '0'
|
201
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
202
|
requirements:
|
203
|
-
- - "
|
203
|
+
- - ">"
|
204
204
|
- !ruby/object:Gem::Version
|
205
|
-
version:
|
205
|
+
version: 1.3.1
|
206
206
|
requirements: []
|
207
207
|
rubyforge_project:
|
208
208
|
rubygems_version: 2.6.10
|