examples/app.rb in sinatra-soap-0.1.4 vs examples/app.rb in sinatra-soap-0.1.5
- old
+ new
@@ -1,16 +1,10 @@
require 'sinatra/base'
require 'sinatra/soap'
-# require './lib/sinatra/soap/wsdl'
-# require './lib/sinatra/soap/helpers'
class App < Sinatra::Base
register Sinatra::Soap
- soap :test do |params|
- puts params.inspect
+ soap :test do
+ params
end
-
- get '/' do
- puts params.inspect
- end
end
-puts App.run!
+App.run!
\ No newline at end of file