# File lib/aws/base_client.rb, line 67 def initialize options = {} if options[:endpoint] options["#{self.class.service_ruby_name}_endpoint""#{self.class.service_ruby_name}_endpoint"] = options.delete(:endpoint) end options_without_config = options.dup @config = options_without_config.delete(:config) @config ||= AWS.config @config = @config.with(options_without_config) @signer = @config.signer @http_handler = @config.http_handler @stubs = {} end