ci_block_io 1.7.4 → 1.7.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 +4 -4
- data/lib/ci_block_io.rb +4 -1
- data/lib/ci_block_io/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c080644f9b2420b34acf94a2488a538d229141a2714b7356ddfa9216b0dde275
|
|
4
|
+
data.tar.gz: e008296af94aa0eafe9e360d4f6ef8f04a4b30c97b4e97b07d56743cea4563f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e994722741ccf99a1a7be6910fab16e4f7e99f63933860bfd75f119acff5d29d86001f380b09332916d7086ccd70cffdcf213bda50e215604ca263f2866487f
|
|
7
|
+
data.tar.gz: 476e186b982e4e31873447dd0358a3966cd3d301748f97040d1d5795ad203d1a8226ce25fbf666e3382e53257b891ace70e99b9120c521a5efadefe86912e9fe
|
data/lib/ci_block_io.rb
CHANGED
|
@@ -11,6 +11,9 @@ require 'base64'
|
|
|
11
11
|
class CiBlockIoWithdrawException < StandardError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
class CiBlockIoNetworkException < StandardError
|
|
15
|
+
end
|
|
16
|
+
|
|
14
17
|
module CiBlockIo
|
|
15
18
|
|
|
16
19
|
@api_key = nil
|
|
@@ -148,7 +151,7 @@ module CiBlockIo
|
|
|
148
151
|
if endpoint[0] == 'withdraw'
|
|
149
152
|
raise CiBlockIoWithdrawException.new(body['data']['error_message']) if !body['status'].eql?('success')
|
|
150
153
|
else
|
|
151
|
-
raise
|
|
154
|
+
raise CiBlockIoNetworkException.new(body['data']['error_message']) if !body['status'].eql?('success')
|
|
152
155
|
end
|
|
153
156
|
body
|
|
154
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.5
|
|
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: 2018-10-
|
|
11
|
+
date: 2018-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|