Sha256: dab431c1e07a905957eaf3b6e2b63c56d04cd263167c58bd8ba3cad67e7755fd
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
# Sinatra::Soap — Under construction [](https://travis-ci.org/IvanShamatov/sinatra-soap) [](https://codeclimate.com/github/IvanShamatov/sinatra-soap) [](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 ```
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinatra-soap-0.1.5 | README.md |