Class: DynamicPDFApi::PageInformation
- Inherits:
-
Object
- Object
- DynamicPDFApi::PageInformation
- Defined in:
- lib/ruby_client/PageInformation.rb
Overview
Represents a page information.
Instance Attribute Summary collapse
-
#height ⇒ Object
Gets or sets the height of the page.
-
#page_number ⇒ Object
Gets or sets the page number.
-
#width ⇒ Object
Gets or sets the width of the page.
Instance Method Summary collapse
-
#initialize ⇒ PageInformation
constructor
A new instance of PageInformation.
Constructor Details
#initialize ⇒ PageInformation
Returns a new instance of PageInformation.
6 7 8 9 10 |
# File 'lib/ruby_client/PageInformation.rb', line 6 def initialize @page_number = nil @width = nil @height = nil end |
Instance Attribute Details
#height ⇒ Object
Gets or sets the height of the page.
25 26 27 |
# File 'lib/ruby_client/PageInformation.rb', line 25 def height @height end |
#page_number ⇒ Object
Gets or sets the page number.
15 16 17 |
# File 'lib/ruby_client/PageInformation.rb', line 15 def page_number @page_number end |
#width ⇒ Object
Gets or sets the width of the page.
20 21 22 |
# File 'lib/ruby_client/PageInformation.rb', line 20 def width @width end |