Class: DynamicPDFApi::PdfResponse
- Defined in:
- lib/ruby_client/PdfResponse.rb
Overview
Represents the pdf response.
Instance Attribute Summary collapse
-
#content ⇒ Object
Gets the content od pdf.
Attributes inherited from Response
#error_id, #error_json, #error_message, #is_successful, #status_code
Instance Method Summary collapse
-
#initialize(pdf_content = nil) ⇒ PdfResponse
constructor
Initializes a new instance of the PdfResponse class.
Constructor Details
#initialize(pdf_content = nil) ⇒ PdfResponse
Initializes a new instance of the PdfResponse class.
18 19 20 21 |
# File 'lib/ruby_client/PdfResponse.rb', line 18 def initialize(pdf_content = nil) super() @content = pdf_content end |
Instance Attribute Details
#content ⇒ Object
Gets the content od pdf.
11 12 13 |
# File 'lib/ruby_client/PdfResponse.rb', line 11 def content @content end |