queenbee 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/queenbee/version.rb +1 -1
- data/lib/queenbee.rb +3 -3
- 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: 962813e1fb193b723644ff2051b8bebec97103ab7ce3698160a7730ec337576c
|
4
|
+
data.tar.gz: 5deb76eefa6378377e2c18343cf4e4e0d0f5cf39ea3f92f0a993b95dcf81ccef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8c627fde5ae0cf5155bd3b12aa3fc1cb748612ba53403254976fbace8c4183a3433084be28b3908c902b251f14e31ab2c8f0b95ee88798dafb1d9a0c2a31c46
|
7
|
+
data.tar.gz: 5a992a3aa287ea3c1fbe8cdf7a8c4c6098dbd3755ddad0447724fa34cd4de28c3b1dd3c3e30c053f21b864297b5061c12845b2c0db36a7d2752c0195a97d2c92
|
data/lib/queenbee/version.rb
CHANGED
data/lib/queenbee.rb
CHANGED
@@ -127,15 +127,15 @@ module Queenbee
|
|
127
127
|
end
|
128
128
|
|
129
129
|
def self.authentication_error(message, rcode, rbody, error_obj)
|
130
|
-
AuthenticationError.new(message,
|
130
|
+
AuthenticationError.new(message, rcode, rbody, error_obj)
|
131
131
|
end
|
132
132
|
|
133
133
|
def self.api_error(message, rcode, rbody, error_obj)
|
134
|
-
APIError.new(message,
|
134
|
+
APIError.new(message, rcode, rbody, error_obj)
|
135
135
|
end
|
136
136
|
|
137
137
|
def self.general_api_error(rcode, rbody)
|
138
138
|
APIError.new("Invalid response object from API: #{rbody.inspect} " +
|
139
|
-
"(HTTP response code was #{rcode})",
|
139
|
+
"(HTTP response code was #{rcode})", rcode, rbody)
|
140
140
|
end
|
141
141
|
end
|