quadrigacx 0.0.2 → 0.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 925de219273c259ca550c654e91d6b25d267caf5
4
- data.tar.gz: ea01bf028a5c305d9228a0b34aaa5f007ddbb9df
3
+ metadata.gz: 32d1bc9b5f86dcb75bfbc0bf0c9ae9f844794934
4
+ data.tar.gz: fdb64cf1ae1af9639be39453fff441ac40b49d95
5
5
  SHA512:
6
- metadata.gz: baa3e58c9ca733042d5ec6767164fa3f7a708f430a0fb6c4ca772e2bade9a04502ba082a9dcfe850d720011854387b061329de36adc301b324ffb506919d6c7c
7
- data.tar.gz: c73b8c7b606dad5ee589de293e9e7ee239941beae11f8648d87a887ffc1e5592fdd0ae9b8b33ee76f4726d19d9d80190c520f60e6716c47b064eb42307922173
6
+ metadata.gz: 5333c603da4a5c9f9cc57349be8b0a6bf6735c9ec5c5d3d29f812b567101e21c1ac533196329ee077a6b3e27c2dde49109b8ccc99e99897da9e59ef12d3b9327
7
+ data.tar.gz: 44ca3a54072086c86841b32d7091c29d18e4f2c383d23725944472061a6d0e76f3f12b50baad387f69308fc53e95b7843c7f066016c0e716f803193af8e1370c
data/README.md CHANGED
@@ -5,8 +5,10 @@ Ruby wrapper for the QuadrigaCX API
5
5
  `gem install quadrigacx`
6
6
 
7
7
  ```
8
- client = QuadrigaCX::Client.new(api_key: 'API_KEY', api_secret: 'API_SECRET)
9
- client.order_book
8
+ client = QuadrigaCX::Client.new(api_key: 'API_KEY', api_secret: 'API_SECRET', client_id: 'CLIENT_ID')
9
+ client.balance
10
10
  ```
11
11
 
12
+ QuadrigaCX's rate limit: 60 requests / minute.
13
+
12
14
  Heavily inspired by [localbitcoins](https://github.com/pemulis/localbitcoins).
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
@@ -2,8 +2,8 @@ module QuadrigaCX
2
2
  module Private
3
3
  # List all account balances
4
4
  #
5
- def balance(params={})
6
- request(:post, '/balance', params)
5
+ def balance
6
+ request(:post, '/balance')
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,5 @@
1
1
  module QuadrigaCX
2
2
  unless defined?(QuadrigaCX::VERSION)
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quadrigacx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maros Hluska
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-18 00:00:00.000000000 Z
11
+ date: 2015-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -119,6 +119,7 @@ files:
119
119
  - Gemfile
120
120
  - LICENSE
121
121
  - README.md
122
+ - Rakefile
122
123
  - lib/quadrigacx.rb
123
124
  - lib/quadrigacx/client.rb
124
125
  - lib/quadrigacx/client/private.rb
@@ -151,7 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
152
  version: '0'
152
153
  requirements: []
153
154
  rubyforge_project:
154
- rubygems_version: 2.2.2
155
+ rubygems_version: 2.4.5
155
156
  signing_key:
156
157
  specification_version: 4
157
158
  summary: QuadrigaCX API wrapper