Sha256: 816a6f740963a9d687afc34887e04845fe59c521d6a59a3daeb9e692a8180646
Contents?: true
Size: 1.6 KB
Versions: 6
Compression:
Stored size: 1.6 KB
Contents
# Wasabi A simple WSDL parser. [![Test](https://github.com/savonrb/wasabi/actions/workflows/test.yml/badge.svg)](https://github.com/savonrb/wasabi/actions/workflows/test.yml) [![Gem Version](https://badge.fury.io/rb/wasabi.svg)](http://badge.fury.io/rb/wasabi) [![Code Climate](https://codeclimate.com/github/savonrb/wasabi.svg)](https://codeclimate.com/github/savonrb/wasabi) [![Coverage Status](https://coveralls.io/repos/savonrb/wasabi/badge.svg?branch=master)](https://coveralls.io/r/savonrb/wasabi) ## Installation Wasabi is available through [RubyGems](http://rubygems.org/gems/wasabi) and can be installed via: ``` $ gem install wasabi ``` Probably, you are using this gem as a dependency of some other gem. But, if you want to control which version of Wasabi to pick, you can add a `gem` line to your `Gemfile`: ``` gem "wasabi" ``` ## Getting started ```ruby document = Wasabi.document File.read("some.wsdl") ``` Get the SOAP endpoint: ```ruby document.endpoint # => "http://soap.example.com" ``` Get the target namespace: ```ruby document.namespace # => "http://v1.example.com" ``` Check whether elementFormDefault is set to `:qualified` or `:unqualified`: ```ruby document.element_form_default # => :qualified ``` Get a list of available SOAP actions (snakecase for convenience): ```ruby document.soap_actions # => [:create_user, :find_user] ``` Get a map of SOAP action Symbols, their input tag and original SOAP action name: ```ruby document.operations # => { :create_user => { :input => "createUser", :action => "createUser" }, # => :find_user => { :input => "findUser", :action => "findUser" } } ```
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
wasabi-5.0.3 | README.md |
wasabi-5.0.2 | README.md |
wasabi-5.0.1 | README.md |
wasabi-5.0.0 | README.md |
wasabi-4.0.0 | README.md |
wasabi-3.8.0 | README.md |