bitodeme 0.2.4 → 0.2.5

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: 7325f05d7de82975c5d51086933482081251c814
4
- data.tar.gz: 73513a58b7c9dc975d3c3b05dc765a26302f7c71
3
+ metadata.gz: '0943cc0901055bff58fb40ebc949c24c86be03e3'
4
+ data.tar.gz: 436dac54b37a272cead77db33f87910cbae02302
5
5
  SHA512:
6
- metadata.gz: '09670b2cea6ecbe96e8c10b08ea2a703ea5fea76a52476552e4ed3636e8daa2f0753e2a749bf9ff3878afea282e765c2378f81eb50b70691480863708b63592a'
7
- data.tar.gz: 350764072ae77a91ee5a9d836b0184a35969658d6ba29279e40bcc83f321c199c98529a1a6df7ed47cd0880347ca92e00b21baad717d2057dae160fa081a47c2
6
+ metadata.gz: bfc5b9fb35fe310330a5b3eba6c4de54a6381067fef40a99a350e7f3dc9a429935900dab9f6d0ce6fe2cf8caa24cdff0b439a28422373df6697634825b9c4d3d
7
+ data.tar.gz: 68c9234d4e69cdd5d11aa72875ff337289e0102dd2351c8568e2f8369b333274c3e3bbe516b53b4614e1c3e30bba31458d47084668f213e61f8fd4ffe1324842
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bitodeme (0.2.3)
4
+ bitodeme (0.2.4)
5
5
  dotenv (~> 2.2, >= 2.2)
6
6
  faraday (~> 0.13)
7
7
  faraday_middleware (~> 0.12)
data/README.md CHANGED
@@ -130,7 +130,8 @@ withdrawal =
130
130
  otp_value: "123456" # otp value from Google Authenticator
131
131
  )
132
132
 
133
- withdrawal = Bitodeme.create_withdrawal(withdrawal)
133
+ Bitodeme.create_withdrawal(withdrawal)
134
+ => {"status"=>"accepted"}
134
135
  ```
135
136
 
136
137
  ### Notes
@@ -50,13 +50,14 @@ module Bitodeme
50
50
  # >> otp_value: "123456" # otp value from Google Authenticator
51
51
  # >> )
52
52
  #
53
- # >> withdrawal = Bitodeme::Resource::Withdrawal.create(withdrawal)
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
- _create('withdrawals', 'withdrawal', withdrawal: withdrawal.to_h)
59
+ data = { withdrawal: withdrawal.to_h }
60
+ post("/api/v1/withdrawals", data).body
60
61
  end
61
62
 
62
63
  private
@@ -1,3 +1,3 @@
1
1
  module Bitodeme
2
- VERSION = '0.2.4'.freeze
2
+ VERSION = '0.2.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bitodeme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bitodeme Integrations Team