Skip to content

Commit

Permalink
More documentation on using the :raw flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines-r7 committed Dec 31, 2014
1 parent 384c5a4 commit e1a5984
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/nexpose/report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,14 @@ def to_xml

# Generate a report once using a simple configuration.
#
# For XML-based reports, only the raw report is returned and not any images.
# For XML-based reports, only the textual report is returned and not any images.
#
# @param [Connection] connection Nexpose connection.
# @param [Fixnum] timeout How long, in seconds, to wait for the report to
# generate. Larger reports can take a significant amount of time.
# @param [Boolean] raw Whether to bypass response parsing an use the raw
# response.
# response. If this option is used, error will only be exposed by
# examining Connection#response_xml.
# @return Report in text format except for PDF, which returns binary data.
#
def generate(connection, timeout = 300, raw = false)
Expand Down

0 comments on commit e1a5984

Please sign in to comment.