Class: WordsRubySdk::RenderPageRequest
- Inherits:
-
Object
- Object
- WordsRubySdk::RenderPageRequest
- Defined in:
- lib/words_ruby_sdk/models/requests/RenderPageRequest.rb
Overview
Request model for render_page operation.
Instance Attribute Summary collapse
-
#folder ⇒ Object
Original document folder.
-
#fonts_location ⇒ Object
Folder in filestorage with custom fonts.
-
#format ⇒ Object
The destination format.
-
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
-
#name ⇒ Object
The file name.
-
#page_index ⇒ Object
Comment index.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#storage ⇒ Object
File storage, which have to be used.
Instance Method Summary collapse
-
#initialize(name, page_index, format, folder = nil, storage = nil, load_encoding = nil, password = nil, fonts_location = nil) ⇒ RenderPageRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(name, page_index, format, folder = nil, storage = nil, load_encoding = nil, password = nil, fonts_location = nil) ⇒ RenderPageRequest
Initializes a new instance.
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 62 def initialize(name, page_index, format, folder = nil, storage = nil, load_encoding = nil, password = nil, fonts_location = nil) self.name = name self.page_index = page_index self.format = format self.folder = folder self.storage = storage self.load_encoding = load_encoding self.password = password self.fonts_location = fonts_location end |
Instance Attribute Details
#folder ⇒ Object
Original document folder.
42 43 44 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 42 def folder @folder end |
#fonts_location ⇒ Object
Folder in filestorage with custom fonts.
50 51 52 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 50 def fonts_location @fonts_location end |
#format ⇒ Object
The destination format.
40 41 42 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 40 def format @format end |
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
46 47 48 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 46 def load_encoding @load_encoding end |
#name ⇒ Object
The file name.
36 37 38 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 36 def name @name end |
#page_index ⇒ Object
Comment index
38 39 40 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 38 def page_index @page_index end |
#password ⇒ Object
Password for opening an encrypted document.
48 49 50 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 48 def password @password end |
#storage ⇒ Object
File storage, which have to be used.
44 45 46 |
# File 'lib/words_ruby_sdk/models/requests/RenderPageRequest.rb', line 44 def storage @storage end |