# File lib/aws/model.rb, line 22 def initialize(*args) options = args.last.kind_of?(Hash) ? args.last : {} @config = case when options[:config] then options[:config] when args.first.respond_to?(:config) then args.first.config else AWS.config end end