ruby-liquid 0.1.5 → 0.1.6

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
  SHA256:
3
- metadata.gz: 8665f261b108cff88db5347cd195bb2eb58118c80d6d65b62642367f4ed2efa9
4
- data.tar.gz: 58d902fe3cf88b86fbb15e890ed8495877970d4a50457afdc9de06bc4dbc9c59
3
+ metadata.gz: fa7b272a37a63e111e0040278062f1f13af065a0aef82bf7bd3911c821c951d7
4
+ data.tar.gz: 5b548f5d3f9079e4ca46926b48fdbf41769d62b9a2160ba4b3633627cce10725
5
5
  SHA512:
6
- metadata.gz: f40cf9cf6b90ddc83eb15fea7cb06dbfc3cc8efd91cb103650a5420a3eaae12a596bab64c7c7886cee5dbebf9c5bf1b36d2435d2825792a172c93acac582e2b1
7
- data.tar.gz: d0881a40e3e5e880cade875585efd9995effb0b92fe886d4cd3fea467d69c6a949732c1558455601a7d4a2846c8f6e41de3141d57cb53b086717029dc8670410
6
+ metadata.gz: 4265a52fb6fb3b8d56627b1b7348e5c9374a23fccd9f189149beb251c9d14a90f63e111f674c12e2fbe40bc7f2ab753ff58bbd5d4d2d21f5ad5f894afea34b39
7
+ data.tar.gz: e8e234554e6759ba0b250a5c77d629ee8b3a4cfe5d297147ca15cc0163ea081ac5c42476d560d579f61f1e229a83bab1d1ad6f4406582d1d6ef9b67ce082cdef
data/.rspec_status CHANGED
@@ -1,5 +1,5 @@
1
1
  example_id | status | run_time |
2
2
  ---------------------------- | ------ | --------------- |
3
- ./spec/liquid_spec.rb[1:1] | passed | 0.0011 seconds |
4
- ./spec/liquid_spec.rb[1:2:1] | passed | 0.73593 seconds |
5
- ./spec/liquid_spec.rb[1:3:1] | passed | 0.48637 seconds |
3
+ ./spec/liquid_spec.rb[1:1] | passed | 0.00133 seconds |
4
+ ./spec/liquid_spec.rb[1:2:1] | passed | 0.86328 seconds |
5
+ ./spec/liquid_spec.rb[1:3:1] | passed | 0.21684 seconds |
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ruby-liquid (0.1.5)
4
+ ruby-liquid (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -5,7 +5,8 @@
5
5
 
6
6
  # Liquid
7
7
 
8
- Crypto exchange (liquid) api client
8
+ Crypto Exchange Liquid Ruby Api Client
9
+ - [Api Document](https://developers.liquid.com/#introduction)
9
10
 
10
11
  ## Installation
11
12
 
@@ -27,23 +28,25 @@ Or install it yourself as:
27
28
  ```rb
28
29
  require 'ruby-liquid'
29
30
  liquid_client = Liquid::Client.new(token: token, secret: secret)
30
- # get
31
+ pair = "BTCJPY"
31
32
  liquid_client.product
32
- liquid_client.product_id("BCHJPY")
33
+ liquid_client.product_id(pair)
33
34
  liquid_client.orders
34
35
  liquid_client.active_orders
35
36
  liquid_client.balance
36
- liquid_client.limit_buy_price
37
- liquid_client.limit_sell_price
38
- # post
39
- liquid_client.create_order(pair: "BCHJPY", side: 'buy', quantity: 0.01, price: 40000)
40
- # put
37
+ liquid_client.limit_buy_price(pair)
38
+ liquid_client.limit_sell_price(pair)
39
+ liquid_client.create_order(pair: pair, side: 'buy', quantity: 0.01, price: 40000)
41
40
  liquid_client.cancel_order(id)
42
41
  ```
43
42
 
44
43
  ## Contributing
45
44
 
46
- wip
45
+ Fork it ( https://github.com/emono/ruby-liquid )
46
+ Create your feature branch (git checkout -b my-new-feature)
47
+ Commit your changes (git commit -am 'Add some feature')
48
+ Push to the branch (git push origin my-new-feature)
49
+ Create a new Pull Request
47
50
 
48
51
  ## License
49
52
 
@@ -1,3 +1,3 @@
1
1
  module Liquid
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-liquid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - emono
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-10 00:00:00.000000000 Z
11
+ date: 2019-06-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler