Class: PdfRenderingSrv::FromHtml
- Defined in:
- lib/pdf_rendering_srv/from_html.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#response ⇒ Object
9 10 11 12 |
# File 'lib/pdf_rendering_srv/from_html.rb', line 9 def response @response ||= HTTP.headers("content-type" => "text/html") .post(pdf_rendering_srv_url, body: html, json: params) end |