Class: DynamicPDFApi::PdfImageResponse
- Defined in:
- lib/ruby_client/Imaging/PdfImageResponse.rb
Overview
Represents a response from the rasterizer operation.
Instance Attribute Summary collapse
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#horizontal_dpi ⇒ Object
Returns the value of attribute horizontal_dpi.
-
#image_format ⇒ Object
Returns the value of attribute image_format.
-
#images ⇒ Object
Returns the value of attribute images.
-
#vertical_dpi ⇒ Object
Returns the value of attribute vertical_dpi.
Attributes inherited from Response
#error_id, #error_json, #error_message, #is_successful, #status_code
Instance Method Summary collapse
-
#initialize ⇒ PdfImageResponse
constructor
Initializes a new instance of the RasterizerResponse class.
Constructor Details
#initialize ⇒ PdfImageResponse
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_type ⇒ Object
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_dpi ⇒ Object
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_format ⇒ Object
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 |
#images ⇒ Object
Returns the value of attribute images.
11 12 13 |
# File 'lib/ruby_client/Imaging/PdfImageResponse.rb', line 11 def images @images end |
#vertical_dpi ⇒ Object
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 |