Clone repository
$ git clone https://github.com/htmlpdfapi/hpa_rails_example.git $ cd hpa_example $ bundle install
Set your api token ( create a user account at HTML PDF API in order to get your token ) inside config/application.rb
Hpa.api_token = "<your token>"
Run server
$ rails s