Class: DynamicPDFApi::PdfSecurityInfoResponse
- Inherits:
-
JsonResponse
- Object
- Response
- JsonResponse
- DynamicPDFApi::PdfSecurityInfoResponse
- Defined in:
- lib/ruby_client/PdfSecurityInfoResponse.rb
Overview
Represents the pdf security info response.
Instance Attribute Summary collapse
-
#content ⇒ Object
Gets the collection of PdfContent.
Attributes inherited from JsonResponse
Attributes inherited from Response
#error_id, #error_json, #error_message, #is_successful, #status_code
Instance Method Summary collapse
-
#initialize(json_content = nil) ⇒ PdfSecurityInfoResponse
constructor
Initializes a new instance of the PdfSecurityInfoResponse class.
Constructor Details
#initialize(json_content = nil) ⇒ PdfSecurityInfoResponse
Initializes a new instance of the PdfSecurityInfoResponse class.
14 15 16 17 18 19 |
# File 'lib/ruby_client/PdfSecurityInfoResponse.rb', line 14 def initialize(json_content = nil) @content = nil super(json_content) unless json_content.nil? @content = PdfSecurityInfo.new(JSON.parse(json_content)) end |
Instance Attribute Details
#content ⇒ Object
Gets the collection of PdfContent.
26 27 28 |
# File 'lib/ruby_client/PdfSecurityInfoResponse.rb', line 26 def content @content end |