Deals with normalazing client supplied parameter keys.
Turns any keys from nested hashes including nested arrays into strings
# File lib/github_api/normalizer.rb, line 7 def normalize!(params) case params when Hash params.keys.each do |k| params[k.to_s] = params.delete(k) normalize!(params[k.to_s]) end when Array params.map! do |el| normalize!(el) end else params.to_s end return params end
Generated with the Darkfish Rdoc Generator 2.