Skip to main content

Generate PDFs in Rails

Add PDF generation to a Ruby on Rails application using the Deckle REST API directly.

1. Set Up

Add the httpx gem (or use net/http):

2. Create a Service

3. Controller

4. Routes