Method: Pdfcrowd::ConnectionHelper#initialize

Defined in:
lib/pdfcrowd.rb

#initialize(user_name, api_key) ⇒ ConnectionHelper

Returns a new instance of ConnectionHelper.



536
537
538
539
540
541
542
543
544
545
546
547
548
# File 'lib/pdfcrowd.rb', line 536

def initialize(user_name, api_key)
    @user_name = user_name
    @api_key = api_key

    reset_response_data()

    setProxy(nil, nil, nil, nil)
    setUseHttp(false)
    setUserAgent('pdfcrowd_ruby_client/6.0.0 (https://pdfcrowd.com)')

    @retry_count = 1
    @converter_version = '24.04'
end