ci_block_io 1.7.5 → 1.7.6
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 +4 -4
- data/lib/ci_block_io.rb +2 -2
- data/lib/ci_block_io/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a402badc4aa53efd1b2b4d215301a4261b94f6090871dfde15161bd285601953
|
|
4
|
+
data.tar.gz: 24d12321a03555258a68f6bca0a6650bd06bd14f933cf8c873852233227f8343
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dee121dc10d2ef2415c409509c739f45684b4ab54f2fcfd5b06cff55d8f583e6d69b0c424dffc8d52603fac06bc65d8c0dc120a61e22c7a61ec4a9f1e078b687
|
|
7
|
+
data.tar.gz: eb9fe1c39b6254df6964dfd66780930e55fc7dca5198f4ebb442ecc3de15565877573d36783e02faedba94edce115eeededdce2c449cccbf64baedee1996247d
|
data/lib/ci_block_io.rb
CHANGED
|
@@ -149,9 +149,9 @@ module CiBlockIo
|
|
|
149
149
|
|
|
150
150
|
body = Oj.load(response.body)
|
|
151
151
|
if endpoint[0] == 'withdraw'
|
|
152
|
-
raise CiBlockIoWithdrawException.new(body['data']['error_message']) if !body['status'].eql?('success')
|
|
152
|
+
raise CiBlockIoWithdrawException.new(body['data']['error_message'][0]) if !body['status'].eql?('success')
|
|
153
153
|
else
|
|
154
|
-
raise CiBlockIoNetworkException.new(body['data']['error_message']) if !body['status'].eql?('success')
|
|
154
|
+
raise CiBlockIoNetworkException.new(body['data']['error_message'][0]) if !body['status'].eql?('success')
|
|
155
155
|
end
|
|
156
156
|
body
|
|
157
157
|
end
|
data/lib/ci_block_io/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ci_block_io
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Atsuhiro Tsuruta feat. Atif Nazir
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-05-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
155
155
|
version: '0'
|
|
156
156
|
requirements: []
|
|
157
157
|
rubyforge_project:
|
|
158
|
-
rubygems_version: 2.7.
|
|
158
|
+
rubygems_version: 2.7.6
|
|
159
159
|
signing_key:
|
|
160
160
|
specification_version: 4
|
|
161
161
|
summary: An easy to use Dogecoin, Bitcoin, Litecoin wallet API by Block.io. Sign up
|