Method: Pdfcrowd::ImageToImageClient#initialize

Defined in:
lib/pdfcrowd.rb

#initialize(user_name, api_key) ⇒ ImageToImageClient

Returns a new instance of ImageToImageClient.



2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
# File 'lib/pdfcrowd.rb', line 2702

def initialize(user_name, api_key)
    @helper = ConnectionHelper.new(user_name, api_key)
    @fields = {
        'input_format'=>'image',
        'output_format'=>'png'
    }
    @file_id = 1
    @files = {}
    @raw_data = {}
end