Created
September 26, 2012 09:15
-
-
Save inossidabile/3786960 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Fluffy < WashOut::Type | |
| map :universe => { | |
| :name => :string, | |
| :age => :int | |
| } | |
| end | |
| class FluffyContainer < WashOut::Type | |
| type_name 'fluffy_con' | |
| map :fluffy => :string | |
| end | |
| class FluffiesController < ApplicationController | |
| include WashOut::SOAP | |
| soap_action "i_to_s", | |
| :args => FluffyContainer, | |
| :return => :string | |
| def integer_to_string | |
| render :soap => params[:value].to_s | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment