lib/pdfmonkey/configuration.rb in pdfmonkey-0.5.0 vs lib/pdfmonkey/configuration.rb in pdfmonkey-0.6.0
- old
+ new
@@ -3,14 +3,16 @@
module Pdfmonkey
class Configuration
attr_accessor :host
attr_accessor :namespace
attr_accessor :private_key
+ attr_accessor :user_agent
def initialize
@host = 'https://api.pdfmonkey.io'
@namespace = 'api/v1'
@private_key = ENV['PDFMONKEY_PRIVATE_KEY']
+ @user_agent = 'Ruby'
end
end
def self.configuration
@configuration ||= Configuration.new