intouch-gdata4ruby 0.1.7.1 → 0.1.7.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gdata4ruby/base.rb +1 -1
- data/lib/gdata4ruby/oauth_service.rb +1 -1
- metadata +1 -1
data/lib/gdata4ruby/base.rb
CHANGED
@@ -168,7 +168,7 @@ module GData4Ruby
|
|
168
168
|
@session_cookie = cookie if cookie =~ /^S=.+/
|
169
169
|
end
|
170
170
|
|
171
|
-
if not ret.status
|
171
|
+
if not ret.status == 200...201
|
172
172
|
puts "invalid response received: "+ret.status if @debug
|
173
173
|
raise HTTPRequestFailed, ret
|
174
174
|
end
|