Class: IssueExporting::FileOutputter
- Inherits:
-
BaseOutputter
- Object
- BaseOutputter
- IssueExporting::FileOutputter
- Defined in:
- lib/issue_exporter/outputter.rb
Instance Method Summary collapse
Methods inherited from BaseOutputter
Constructor Details
This class inherits a constructor from IssueExporting::BaseOutputter
Instance Method Details
#write(response_text) ⇒ Object
53 54 55 56 57 58 59 60 |
# File 'lib/issue_exporter/outputter.rb', line 53 def write(response_text) path = [:path] || default_path if [:multiple_files] write_multi_file path, response_text else write_file path, response_text end end |