README.md in soap-object-0.1 vs README.md in soap-object-0.2

- old
+ new

@@ -1,9 +1,25 @@ # Soap::Object -TODO: Write a gem description +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' @@ -14,12 +30,9 @@ Or install it yourself as: $ gem install soap-object -## Usage - -TODO: Write usage instructions here ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`)