lib/dhc/request.rb in dhc-1.0.0 vs lib/dhc/request.rb in dhc-2.0.0
- old
+ new
@@ -20,10 +20,10 @@
self.options = format!(options.deep_dup || {})
self.error_handler = options.delete :rescue
use_configured_endpoint!
generate_url_from_template!
self.interceptors = DHC::Interceptors.new(self)
- interceptors.intercept(:before_raw_request)
+ interceptors.intercept(:before_init)
self.raw = create_request
interceptors.intercept(:before_request)
if self_executing && !response
run!
elsif response