Class: Dradis::Plugins::Projects::Export::Template
- Inherits:
-
Export::Base
- Object
- Export::Base
- Dradis::Plugins::Projects::Export::Template
- Defined in:
- lib/dradis/plugins/projects/export/template.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#export(args = {}) ⇒ Object
This method returns an XML representation of current repository which includes Categories, Nodes and Notes.
Instance Method Details
#export(args = {}) ⇒ Object
This method returns an XML representation of current repository which includes Categories, Nodes and Notes
5 6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/dradis/plugins/projects/export/template.rb', line 5 def export(args={}) builder = Builder::XmlMarkup.new builder.instruct! result = builder.tag!('dradis-template', version: version) do |template_builder| build_nodes(template_builder) build_issues(template_builder) build_methodologies(template_builder) build_categories(template_builder) (template_builder) build_report_content(template_builder) end return result end |