# File lib/apipie/client/generator.rb, line 122 def transformation_hash(method) method[:params].find_all { |p| p[:expected_type] == "hash" && !p[:params].nil? }.reduce({}) do |h, p| h.update(p[:name] => p[:params].map { |pp| pp[:name] }) end end