lib/cloudapp/httparty.rb in cloudapp_api-0.0.2 vs lib/cloudapp/httparty.rb in cloudapp_api-0.0.3
- old
+ new
@@ -5,10 +5,10 @@
end
module HTTParty
class Response < HTTParty::BasicObject
def ok?
- @code == 200
+ self.code == 200
end
end
class Request
private
\ No newline at end of file