lib/messenger/web.rb in messenger-0.4.3 vs lib/messenger/web.rb in messenger-0.4.4
- old
+ new
@@ -34,10 +34,10 @@
private
def self.success?(response)
case response.code
- when 200, 201
+ when 200..299
true
else
false
end
end