Class: DynamicPDFApi::PdfImageResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/ruby_client/Imaging/PdfImageResponse.rb

Overview

Represents a response from the rasterizer operation.

Instance Attribute Summary collapse

Attributes inherited from Response

#error_id, #error_json, #error_message, #is_successful, #status_code

Instance Method Summary collapse

Constructor Details

#initializePdfImageResponse

Initializes a new instance of the RasterizerResponse class.



22
23
24
25
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 22

def initialize
  @image_format = nil
  @images = []
end

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



13
14
15
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 13

def content_type
  @content_type
end

#horizontal_dpiObject

Returns the value of attribute horizontal_dpi.



15
16
17
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 15

def horizontal_dpi
  @horizontal_dpi
end

#image_formatObject

Returns the value of attribute image_format.



9
10
11
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 9

def image_format
  @image_format
end

#imagesObject

Returns the value of attribute images.



11
12
13
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 11

def images
  @images
end

#vertical_dpiObject

Returns the value of attribute vertical_dpi.



17
18
19
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 17

def vertical_dpi
  @vertical_dpi
end