Skip to content
This is a ruby gem for pdf_generator_api. pdfgeneratorapi.com
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.byebug_history
Gemfile
Gemfile.lock
Readme.md
pdf_generator_api-0.0.1.gem
pdf_generator_api.gemspec

Readme.md

Ruby module for pdfgeneratorapi.com

Ruby module for PDF Generator API.

Install

Require this package with npm using the following command:

gem install pdf_generator_api

Or Add in Gemfile

gem 'pdf_generator_api', '~> 0.0.1'

Usage

require 'pdf-generator-api'

Client = PDFGeneratorAPI.new({"X-Auth-Key" => '{your_api_key}' , "X-Auth-Secret" => '{your_secret_key}', "X-Auth-Workspace"=> '{your_workplace}', "Content-Type" => "application/json; charset=utf-8", "Accept" => "application/json"})

response = Client.getAll("", "")

response = response = Client.output('{template_id_retrived_with_getAll}', data , "pdf", "Sample Name", {name: "Sample Name", format:"pdf", output: "base64"})
You can’t perform that action at this time.