lib/github_api/normalizer.rb in github_api-0.11.3 vs lib/github_api/normalizer.rb in github_api-0.12.0
- old
+ new
@@ -1,11 +1,10 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
module Github
# Deals with normalazing client supplied parameter keys.
module Normalizer
-
# Turns any keys from nested hashes including nested arrays into strings
#
def normalize!(params)
case params
when Hash
@@ -20,8 +19,7 @@
else
params.to_s
end
return params
end
-
end # Normalizer
end # Github