# Sinatra::Soap — Under construction [![Build Status](https://travis-ci.org/IvanShamatov/sinatra-soap.png?branch=master)](https://travis-ci.org/IvanShamatov/sinatra-soap) [![Code Climate](https://codeclimate.com/github/IvanShamatov/sinatra-soap.png)](https://codeclimate.com/github/IvanShamatov/sinatra-soap) [![Gem Version](https://badge.fury.io/rb/sinatra-soap.png)](http://badge.fury.io/rb/sinatra-soap) 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: ## Usage A classic application would work like that: ```ruby require 'sinatra' require 'sinatra/soap' soap "SomeAction" do_something_with_params # hash to be returned end ``` A modular application would look like that: ```ruby require 'sinatra/base' require 'sinatra/soap' class SoapAPI < Sinatra::Base #remember to register extenstion if you are using modular style register Sinatra::Soap soap "SomeAction" params # hash to be returned end end ```