intouch-gdata4ruby 0.1.7.1 → 0.1.7.5
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.
- 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
|