From 2483a5bb7926024da0b9fde088983207b7025012 Mon Sep 17 00:00:00 2001 From: Jochem Siegel Date: Tue, 30 Jul 2013 17:29:12 +0200 Subject: [PATCH] Change forward slash to period for the param name in case of a custom Type class being inside a module. --- lib/wash_out/type.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wash_out/type.rb b/lib/wash_out/type.rb index 07ef6578..f4679d38 100644 --- a/lib/wash_out/type.rb +++ b/lib/wash_out/type.rb @@ -14,7 +14,7 @@ def self.wash_out_param_map end def self.wash_out_param_name - @param_type_name ||= name.underscore + @param_type_name ||= name.gsub( '/', '.').underscore if WashOut::Engine.camelize_wsdl.to_s == 'lower' @param_type_name = @param_type_name.camelize(:lower)