test/fixtures/country.rb in activeresource-response-0.3.0 vs test/fixtures/country.rb in activeresource-response-0.4.0
- old
+ new
@@ -1,4 +1,9 @@
-class Country < ActiveResource::Base
+class ActiveResourceResponseBase < ActiveResource::Base
self.site = "http://37s.sunrise.i:3000"
+ add_response_method :http_response
+end
+
+
+class Country < ActiveResourceResponseBase
add_response_method :http
end
\ No newline at end of file