Class: DynamicPDFApi::PdfContent

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby_client/PdfContent.rb

Overview

Represents the pdf content

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePdfContent

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_numberObject

Gets or sets the page number.



14
15
16
# File 'lib/ruby_client/PdfContent.rb', line 14

def page_number
  @page_number
end

#textObject

Gets the text in the pdf.



19
20
21
# File 'lib/ruby_client/PdfContent.rb', line 19

def text
  @text
end