ci_block_io 1.7.6 → 1.7.7

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
  SHA256:
3
- metadata.gz: a402badc4aa53efd1b2b4d215301a4261b94f6090871dfde15161bd285601953
4
- data.tar.gz: 24d12321a03555258a68f6bca0a6650bd06bd14f933cf8c873852233227f8343
3
+ metadata.gz: 3325649e2968c62a2ec26bb95e82df7470cab59624c8dd23c8411fa2e6fe5ab4
4
+ data.tar.gz: 93e07a5d715c2bf5642d0f6ed8e60ee7ad12236288e2e4761bda24ddcde5202c
5
5
  SHA512:
6
- metadata.gz: dee121dc10d2ef2415c409509c739f45684b4ab54f2fcfd5b06cff55d8f583e6d69b0c424dffc8d52603fac06bc65d8c0dc120a61e22c7a61ec4a9f1e078b687
7
- data.tar.gz: eb9fe1c39b6254df6964dfd66780930e55fc7dca5198f4ebb442ecc3de15565877573d36783e02faedba94edce115eeededdce2c449cccbf64baedee1996247d
6
+ metadata.gz: ec2d7805135deba008e09eaa9c0cc8f5a926b2bd903e0fbb61c35e2951817b65e64466193041c6037861b3dcda024e89d4336bfcabb27ab35c046f251d87cf2d
7
+ data.tar.gz: 3528769e8df312f9289d6e4dbacdf45f846b5d7ed5ad44da01d33dc6618f3cc23b400e646efab6544aded2c64d991475bc329cd33f103bb6453adefe9fa44466
@@ -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'][0]) if !body['status'].eql?('success')
152
+ raise CiBlockIoWithdrawException.new(body['data']['error_message']) if !body['status'].eql?('success')
153
153
  else
154
- raise CiBlockIoNetworkException.new(body['data']['error_message'][0]) if !body['status'].eql?('success')
154
+ raise CiBlockIoNetworkException.new(body['data']['error_message']) if !body['status'].eql?('success')
155
155
  end
156
156
  body
157
157
  end
@@ -1,3 +1,3 @@
1
1
  module CiBlockIo
2
- VERSION = "1.7.6"
2
+ VERSION = "1.7.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ci_block_io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.6
4
+ version: 1.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsuhiro Tsuruta feat. Atif Nazir