Class: DynamicPDFApi::PdfContent
- Inherits:
-
Object
- Object
- DynamicPDFApi::PdfContent
- Defined in:
- lib/ruby_client/PdfContent.rb
Overview
Represents the pdf content
Instance Attribute Summary collapse
-
#page_number ⇒ Object
Gets or sets the page number.
-
#text ⇒ Object
Gets the text in the pdf.
Instance Method Summary collapse
-
#initialize ⇒ PdfContent
constructor
A new instance of PdfContent.
Constructor Details
#initialize ⇒ PdfContent
Returns a new instance of PdfContent.
6 7 8 9 |
# File 'lib/ruby_client/PdfContent.rb', line 6 def initialize @page_number = nil @text = nil end |
Instance Attribute Details
#page_number ⇒ Object
Gets or sets the page number.
14 15 16 |
# File 'lib/ruby_client/PdfContent.rb', line 14 def page_number @page_number end |
#text ⇒ Object
Gets the text in the pdf.
19 20 21 |
# File 'lib/ruby_client/PdfContent.rb', line 19 def text @text end |