bitodeme 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -1
- data/lib/bitodeme/resources/withdrawal.rb +3 -2
- data/lib/bitodeme/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0943cc0901055bff58fb40ebc949c24c86be03e3'
|
4
|
+
data.tar.gz: 436dac54b37a272cead77db33f87910cbae02302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bfc5b9fb35fe310330a5b3eba6c4de54a6381067fef40a99a350e7f3dc9a429935900dab9f6d0ce6fe2cf8caa24cdff0b439a28422373df6697634825b9c4d3d
|
7
|
+
data.tar.gz: 68c9234d4e69cdd5d11aa72875ff337289e0102dd2351c8568e2f8369b333274c3e3bbe516b53b4614e1c3e30bba31458d47084668f213e61f8fd4ffe1324842
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -50,13 +50,14 @@ module Bitodeme
|
|
50
50
|
# >> otp_value: "123456" # otp value from Google Authenticator
|
51
51
|
# >> )
|
52
52
|
#
|
53
|
-
# >>
|
53
|
+
# >> Bitodeme::Resource::Withdrawal.create(withdrawal)
|
54
54
|
#
|
55
55
|
# Arguments:
|
56
56
|
# withdrawal: (Bitodeme::Resource::Withdrawal)
|
57
57
|
def create(withdrawal)
|
58
58
|
raise_for('withdrawal') unless withdrawal.is_a?(Withdrawal)
|
59
|
-
|
59
|
+
data = { withdrawal: withdrawal.to_h }
|
60
|
+
post("/api/v1/withdrawals", data).body
|
60
61
|
end
|
61
62
|
|
62
63
|
private
|
data/lib/bitodeme/version.rb
CHANGED