# File lib/aws/core/configuration.rb, line 233 def initialize options = {} @created = options.delete(:__created__) || {} # :signer is now a deprecated option, this ensures it will still # work, but its now preferred to set :credential_provider instead. # Credential providers don't have to provide a #sign method. if signer = options.delete(:signer) options[:credential_provider] = signer end options.each_pair do |opt_name, value| opt_name = opt_name.to_sym if self.class.accepted_options.include?(opt_name) #if opt_name.to_s =~ /_endpoint$/ # warning = ":#{opt_name} is a deprecated AWS configuration option, " # warning << "use :region instead" # warn(warning) #end supplied[opt_name] = value end end end