From ec36ec618cb01fcdf53df316a9c6916d531f03f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fa=CC=81bio=20D=2E=20Batista?= Date: Thu, 5 Jan 2012 20:27:00 -0200 Subject: [PATCH] Remind me of running local tests before pushing. --- lib/shapewear/wsdl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shapewear/wsdl.rb b/lib/shapewear/wsdl.rb index 4c8b620..3951d9f 100644 --- a/lib/shapewear/wsdl.rb +++ b/lib/shapewear/wsdl.rb @@ -25,7 +25,7 @@ def to_wsdl end end - operations.each do |_, op_opts| + operations.each do |m, op_opts| xdef.message :name => "#{op_opts[:public_name]}Input" do |xmsg| xmsg.part :name => :body, :element => "xsd1:#{op_opts[:public_name]}Request" end unless instance_method(m).arity == 0 @@ -35,7 +35,7 @@ def to_wsdl end xdef.portType :name => "#{self.name}PortType" do |xpt| - operations.each do |_, op_opts| + operations.each do |m, op_opts| xpt.operation :name => op_opts[:public_name] do |xop| xop.input :message => "tns:#{op_opts[:public_name]}Input" unless instance_method(m).arity == 0 xop.output :message => "tns:#{op_opts[:public_name]}Output"