tezos_client 0.4.0 → 0.4.1
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/lib/tezos_client/exceptions.rb +1 -4
- data/lib/tezos_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ed335e425ed73c260d946303db2c18422cc446c938a3e0d386591058692ccf
|
4
|
+
data.tar.gz: 47210c2b24fefe92c408f1e1e05c6466eab719fbca394cbb636958efb08d6fce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 128df332ac3f2f29150eb324594856a0c91b7a5194c222782bfdf2a56b953bb1d5d21e9969dc7fc3e69853809518fbeb806941ad361a47b44c1d9b66ee4b3d6b
|
7
|
+
data.tar.gz: fb412b5a3bad46ddbcbb52b99ab56d6068700bb4eb621854ff389a672c97a6b3b323e2abb87c8b0a2eb42cb5025fa1df82f7261aa76574b6efad48232c42c82f
|
data/Gemfile.lock
CHANGED
@@ -2,19 +2,16 @@
|
|
2
2
|
|
3
3
|
class TezosClient
|
4
4
|
class RpcRequestFailure < Exception
|
5
|
-
include Logger
|
6
5
|
|
7
6
|
attr_reader :status_code
|
8
7
|
attr_reader :error
|
9
|
-
attr_reader :formatted_response
|
10
8
|
|
11
9
|
def initialize(error:, url:, status_code:)
|
12
10
|
@status_code = status_code
|
13
11
|
@error = error
|
14
|
-
@formatted_response = formatted_response
|
15
12
|
|
16
13
|
if @message.nil?
|
17
|
-
@message = "#{url} failed with status #{status_code}:\n #{
|
14
|
+
@message = "#{url} failed with status #{status_code}:\n #{error}"
|
18
15
|
end
|
19
16
|
|
20
17
|
super @message
|
data/lib/tezos_client/version.rb
CHANGED