lib/messenger/web.rb in messenger-0.4.1 vs lib/messenger/web.rb in messenger-0.4.2
- old
+ new
@@ -33,10 +33,11 @@
private
def self.success?(response)
case response.code
- when 200, 201: true
+ when 200, 201
+ true
else
false
end
end