sabo
Sabo
A SOAP client with WSDL support.
Installation
-
Add the dependency to your
shard.yml
:dependencies: sabo: github: place-technology/sabo
-
Run
shards install
Usage
require "sabo"
document = Sabo::WSDL::Document.new("http://www.dneonline.com/calculator.asmx?WSDL")
client = Sabo::Client.new(document: document, version: "1.2")
puts client.operations
response = client.call(operation: "Add", body: {"intA" => Sabo::Parameter.new(5), "intB" => Sabo::Parameter.new(5)})
puts response.result
Contributing
- Fork it (https://github.com/place-technology/sabo/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Giorgi Kavrelishvili - creator and maintainer
Repository
sabo
Owner
Statistic
- 5
- 0
- 0
- 1
- 3
- over 2 years ago
- July 19, 2022
License
MIT License
Links
Synced at
Sun, 24 Nov 2024 04:09:52 GMT
Languages