def to_hash
      hash = {}
      instance_variables.each do |var|
        hash[var[1..-1].to_sym] = instance_variable_get(var)
      end
      hash
    end
def to_hash
      hash = {}
      instance_variables.each do |var|
        hash[var[1..-1].to_sym] = instance_variable_get(var)
      end
      hash
    end
-------------------
 Convert this Configuration object into a Hash

 Why don't we inherit from OrderedOptions?

 Since the API options are out of our control
 (without having to map every API option to
 internal methods), it is possible that one
 of the config options will conflict with
 something in Ruby. For example, the "sort"
 option that the NPR API allows would mean
 we'd have to overwrite Ruby's Hash#sort
 method.

 We *could* just map out config options to
 the API options, but I think it's more
 important to keep the gem config options
 in perfect sync with the API options.