| Module | ActionController::Streaming |
| In: |
lib/rupdf/action_controller.rb
|
| Export | = | Struct.new("Export", :data, :content_type, :name) |
# File lib/rupdf/action_controller.rb, line 14
14: def send_pdf(pdf_data)
15: export = Export.new(pdf_data, 'application/pdf', 'report.pdf')
16: send_to_browser(export)
17: end