# File lib/aws/configuration.rb, line 221 def to_h self.class.accepted_options.inject({}) do |h,k| h[k] = send(k) h end end