From ea478d160f64efb70ae70a43a218f407fce0359d Mon Sep 17 00:00:00 2001 From: bogdanRada Date: Fri, 23 May 2014 13:14:46 +0300 Subject: [PATCH] readme --- README.rdoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index 396dba5..185d442 100644 --- a/README.rdoc +++ b/README.rdoc @@ -72,13 +72,18 @@ In the following file +config/routes.rb+ you can put this configuration wash_out :rumbas wash_out :my_other_service + namespace :api do + wash_out :project_service + end + mount WashoutBuilder::Engine => "/washout" end You can access the url +/washout+ and you will see a list with available services ( in our case there are only two : The RumbasController and MyOtherServiceController) with links to their documentation and where you can find the WSDL. -If you want to access directly the hml documentation that was generated for RumbasController you can do that by accessing url +/rumbas/doc+ And the WSDL will be available at +/rumbas/wsdl+ +If you want to access directly the hml documentation that was generated for RumbasController you can do that by accessing url with camelcase name +/washout/Rumbas+ or without camelcase +/washout/rumbas+ +For namespaced services you can access documentation url like this +/washout/Api::ProjectService+ or like this +/washout/api/project_service+ When specifying the soap_service you can also pass a option for description . Here is an example