Method: Pdfcrowd::ConnectionHelper#initialize

Defined in:
lib/pdfcrowd.rb

#initialize(user_name, api_key) ⇒ ConnectionHelper

Returns a new instance of ConnectionHelper.



564
565
566
567
568
569
570
571
572
573
574
575
576
# File 'lib/pdfcrowd.rb', line 564

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.5.4 (https://pdfcrowd.com)')

    @retry_count = 1
    @converter_version = '24.04'
end