abucoins 0.2.0 → 0.3.0

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: 156916d312b8573e0e95159e4118cadfe7453616
4
- data.tar.gz: 3c0fa66ec527af7393afd54f4cf6f897158f47b6
3
+ metadata.gz: 053cea09922fa0c3ecf69d5da1b35986b6b27a0e
4
+ data.tar.gz: a7ad5fb2338dcc26cdeb8b5f70bf7585739cc572
5
5
  SHA512:
6
- metadata.gz: 544aa29696f4e817689dce2b246a1b23af764f17b22bd2dd4180865ab5adab41f152807e5c271ecfdb1f9c0a67190fb8bbcfc8bf65c17d71e97a8d7222464f1c
7
- data.tar.gz: cc14015ff49f5f36ae7ab8785ad47bbca9bf1dd5fca0ec70913a695a609a0dd6556037f59abe767d5874e5291651e410ee0b2a64eaf65246ad1fc8d042412f1f
6
+ metadata.gz: 72f030bbf7275234928dd7b5584ce37833084892d24180490571d39792c7203a0f82245b10513e2a7b799f0047261bafd831ef51dc8a8bb9fa0fa7e38ba4c33e
7
+ data.tar.gz: 582529c7a4092035002264f32255dcdaa88b4e495f46d69f464210f13a3dde08ced05a0ff351511da21b2303c82e355fb27f12030c540c32e133b90f842568e7
@@ -59,6 +59,23 @@ module Abucoins
59
59
  get('/accounts')
60
60
  end
61
61
 
62
+ def deposits_crypto(currency:, method:)
63
+ post('/deposits/crypto', {
64
+ currency: currency,
65
+ method: method
66
+ })
67
+ end
68
+
69
+ def withdrawals_crypto(amount:, currency:, method:, address:, tag: nil)
70
+ post('/withdrawals/crypto', {
71
+ amount: amount,
72
+ currency: currency,
73
+ method: method,
74
+ address: address,
75
+ tag: tag,
76
+ })
77
+ end
78
+
62
79
  private
63
80
 
64
81
  def signature(timestamp, verb, path, body)
@@ -2,5 +2,5 @@
2
2
  # Primary module for this gem.
3
3
  module Abucoins
4
4
  # Current Abucoins version.
5
- VERSION = '0.2.0'.freeze
5
+ VERSION = '0.3.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: abucoins
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Fernandez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-08 00:00:00.000000000 Z
11
+ date: 2018-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler