lib/active_resource_response.rb in activeresource-response-0.3.0 vs lib/active_resource_response.rb in activeresource-response-0.4.0
- old
+ new
@@ -24,11 +24,13 @@
require 'active_resource'
require "active_resource_response/version"
require "active_resource_response/http_response"
require "active_resource_response/connection"
require "active_resource_response/response_method"
+require "active_resource_response/custom_methods"
ActiveResource::Connection.send :include, ActiveResourceResponse::Connection
ActiveResource::Base.send :include, ActiveResourceResponse::ResponseMethod
+ActiveResource::Base.send :include, ActiveResourceResponse::CustomMethods
if defined? ActiveResource::Response
require "active_resource_response/response"
ActiveResource::Response.send :include, ActiveResourceResponse::Response
end
\ No newline at end of file