Sha256: 208e332f3a3c62c4e08c9eff82ef3ee94e8545ad9880cc08dd759cfff024c505
Contents?: true
Size: 395 Bytes
Versions: 12
Compression:
Stored size: 395 Bytes
Contents
require "bundler/setup" Bundler.require DocRaptor.configure do |dr| dr.username = "YOUR_API_KEY_HERE" # dr.debugging = true end $docraptor = DocRaptor::DocApi.new begin $docraptor.create_doc( test: true, name: "s" * 201, # limit is 200 characters document_type: "pdf", ) rescue DocRaptor::ApiError exit end abort "Exception expected, but not raised"
Version data entries
12 entries across 12 versions & 1 rubygems