lib/api_proxy.rb in api_proxy-0.2.8 vs lib/api_proxy.rb in api_proxy-0.2.9
- old
+ new
@@ -1,12 +1,13 @@
# frozen_string_literal: true
require 'api_proxy/version'
-require 'active_support/time'
-require 'active_support/time_with_zone'
-require 'active_support/core_ext/module'
+require 'active_support/all'
+
module ApiProxy
+ extend ActiveSupport::Autoload
+
autoload :Config, 'api_proxy/config'
autoload :Middleware, 'api_proxy/middleware'
autoload :HeadersFilter, 'api_proxy/headers_filter'
autoload :SignedRequest, 'api_proxy/signed_request'
autoload :ResponseBuilder, 'api_proxy/response_builder'