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