Sha256: d8a687db103eb1953c0c148a91b9e366fc1ce1a7ee57bf6e3821840cf42af91e
Contents?: true
Size: 950 Bytes
Versions: 6
Compression:
Stored size: 950 Bytes
Contents
# Soap::Object Module to make it simpler to tests SOAP web services. The goal is to abstract all information about how your call and parse results from the web service within the soap objects. ````ruby class AirportService include SoapObject wsdl 'http://www.webservicex.net/airport.asmx?WSDL' def get_airport_name_for(airport_code) response = get_airport_information_by_airport_code airport_code: airport_code doc = Nokogiri::XML(response) doc.xpath('//Table/CityOrAirportName').first.content end end ```` ## Installation Add this line to your application's Gemfile: gem 'soap-object' And then execute: $ bundle Or install it yourself as: $ gem install soap-object ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
soap-object-0.6.4 | README.md |
soap-object-0.5.1 | README.md |
soap-object-0.5 | README.md |
soap-object-0.4 | README.md |
soap-object-0.3 | README.md |
soap-object-0.2 | README.md |