Class: WebServiceDocumenter
- Inherits:
-
Object
- Object
- WebServiceDocumenter
- Defined in:
- lib/web_service_documenter.rb
Defined Under Namespace
Classes: Service
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.generate(path_to_web_services) ⇒ Object
86 87 88 |
# File 'lib/web_service_documenter.rb', line 86 def self.generate(path_to_web_services) new.generate(path_to_web_services) end |
Instance Method Details
#generate(path_to_web_services) ⇒ Object
90 91 92 93 94 95 96 |
# File 'lib/web_service_documenter.rb', line 90 def generate(path_to_web_services) @yml_file = YAML.load_file(path_to_web_services) @web_services = @yml_file["web_services"] @base_uri = @yml_file["settings"]["base_uri"] curl_services end |