README.md in sinatra-soap-0.1.4 vs README.md in sinatra-soap-0.1.5
- old
+ new
@@ -5,26 +5,21 @@
Sinatra-soap gem makes task to create SOAP API really simple. Inspired by WashOut gem for Rails. But remember, the only reason why you should use SOAP is legacy code.
## Overview
-In case of simplicity and quick first working release:
-
- - WSDL would not be generated
- - WSDL would not be checked
- - Response would be ```"#{soap_action}Response"``` and types would guessed.
+In case of simplicity and quick first working release:
-
## Usage
A classic application would work like that:
```ruby
require 'sinatra'
require 'sinatra/soap'
-soap "SomeAction" do |params|
+soap "SomeAction"
do_something_with_params # hash to be returned
end
```
A modular application would look like that:
@@ -36,10 +31,10 @@
class SoapAPI < Sinatra::Base
#remember to register extenstion if you are using modular style
register Sinatra::Soap
- soap "SomeAction" do |params|
+ soap "SomeAction"
params # hash to be returned
end
end
```