fixed_ruby_coincheck_client 0.3.0 → 0.3.1

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: e121a2519fb8067e7b9086ccb2188fe2d4b2e0c0
4
- data.tar.gz: 8184891003c3d35eb25575d19d545074907c1aea
3
+ metadata.gz: 94fc759289c9a6de94144a6bba94ba9940e96540
4
+ data.tar.gz: 5a7b5cc4a983f1cf33bd82c0c91660c337f736e4
5
5
  SHA512:
6
- metadata.gz: 50da80f09600d8bda62ff645ec02ba8e2090c847129ca33703d7d012d0f19eae2645ed59a91464a8942dad9ef66ccf37050a92a3af2d95641de192a67f8f35c0
7
- data.tar.gz: e22c45db4673744af692a59a75cff75b43240400354061a8b9cf2d707585c45464f32289cc526d346944e872f3f40f5bc240c9925544dd510fe647b91b28c0f4
6
+ metadata.gz: b00ac14a50b2dd54c69249a1d2f91c4a1521a6acb3eadf2b33285190ede8e3247e23f00dfcd2a69b2eef5b2b3be38883033235c41c208cb1ed51ef9d0d4540ea
7
+ data.tar.gz: 6a0eb6180446532917ed0d1a4402c0401a802a1c4e5fb74b3c36e587459cfa3560fee211bc990522e436133bc579339213c22ff561989513c13021898afb4d66
data/README.md CHANGED
@@ -3,13 +3,14 @@
3
3
  # RubyCoincheckClient
4
4
 
5
5
  This is ruby client implementation for Coincheck API.
6
+ One thing different from official one is that this gem doesn't have the error that occurs when we call the read_trades method.
6
7
 
7
8
  ## Installation
8
9
 
9
10
  Add this line to your application's Gemfile:
10
11
 
11
12
  ```ruby
12
- gem 'ruby_coincheck_client'
13
+ gem 'fixed_ruby_coincheck_client'
13
14
  ```
14
15
 
15
16
  And then execute:
@@ -18,13 +19,13 @@ And then execute:
18
19
 
19
20
  Or install it yourself as:
20
21
 
21
- $ gem install ruby_coincheck_client
22
+ $ gem install fixed_ruby_coincheck_client
22
23
 
23
24
  ## Usage
24
25
 
25
26
  ```ruby
26
27
  #!/usr/bin/env ruby -Ilib
27
- require 'ruby_coincheck_client'
28
+ require 'fixed_ruby_coincheck_client'
28
29
 
29
30
  cc = CoincheckClient.new("YOUR API KEY", "YOUR SECRET KEY")
30
31
  response = cc.read_balance
@@ -131,7 +131,7 @@ class CoincheckClient
131
131
  end
132
132
 
133
133
  def read_trades(pair: Pair::BTC_JPY )
134
- uri = URI.parse @@base_url + "api/trades#{pair}"
134
+ uri = URI.parse @@base_url + "api/trades?pair=#{pair}"
135
135
  request_for_get(uri)
136
136
  end
137
137
 
@@ -1,3 +1,3 @@
1
1
  module RubyCoincheckClient
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixed_ruby_coincheck_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryu Nishida