lib/cloudapp/httparty.rb in cloudapp_api-0.4.0 vs lib/cloudapp/httparty.rb in cloudapp_api-0.5.0
- old
+ new
@@ -1,10 +1,10 @@
require "json"
module HTTParty #:nodoc:
- class Response < HTTParty::BasicObject #:nodoc:
+ class Response < ::BasicObject #:nodoc:
def ok?
[200, 201, 202].include?(self.code)
end
end
@@ -30,6 +30,6 @@
setup_digest_auth if options[:digest_auth]
end
end
-end
\ No newline at end of file
+end