ig3client 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ig3client/marshal_client.rb +1 -1
- metadata +1 -1
@@ -74,7 +74,7 @@ module Ig3tool
|
|
74
74
|
n.request(req) do |res|
|
75
75
|
a = res.read_body
|
76
76
|
rez = Marshal.load(a)
|
77
|
-
|
77
|
+
_reraise(rez["type"].to_sym, rez["message"].to_s) if (res.code.to_i > 200)
|
78
78
|
if block_given?
|
79
79
|
yield rez
|
80
80
|
else
|