Class: Dox::Printers::ExampleRequestPrinter

Inherits:
BasePrinter
  • Object
show all
Defined in:
lib/dox/printers/example_request_printer.rb

Instance Attribute Summary

Attributes inherited from BasePrinter

#spec

Instance Method Summary collapse

Methods inherited from BasePrinter

#find_or_add, #format_desc, #formatted_body, #initialize, #pretty_xml, #read_file

Constructor Details

This class inherits a constructor from Dox::Printers::BasePrinter

Instance Method Details



4
5
6
7
# File 'lib/dox/printers/example_request_printer.rb', line 4

def print(example)
  self.example = example
  add_example_request
end