Class: WordsRubySdk::GetDocumentWithFormatRequest
- Inherits:
-
Object
- Object
- WordsRubySdk::GetDocumentWithFormatRequest
- Defined in:
- lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb
Overview
Request model for get_document_with_format 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.
-
#out_path ⇒ Object
Path to save result.
-
#password ⇒ Object
Password for opening an encrypted document.
-
#storage ⇒ Object
File storage, which have to be used.
Instance Method Summary collapse
-
#initialize(name, format, folder = nil, storage = nil, load_encoding = nil, password = nil, out_path = nil, fonts_location = nil) ⇒ GetDocumentWithFormatRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(name, format, folder = nil, storage = nil, load_encoding = nil, password = nil, out_path = nil, fonts_location = nil) ⇒ GetDocumentWithFormatRequest
Initializes a new instance.
62 63 64 65 66 67 68 69 70 71 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 62 def initialize(name, format, folder = nil, storage = nil, load_encoding = nil, password = nil, out_path = nil, fonts_location = nil) self.name = name self.format = format self.folder = folder self.storage = storage self.load_encoding = load_encoding self.password = password self.out_path = out_path self.fonts_location = fonts_location end |
Instance Attribute Details
#folder ⇒ Object
Original document folder.
40 41 42 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 40 def folder @folder end |
#fonts_location ⇒ Object
Folder in filestorage with custom fonts.
50 51 52 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 50 def fonts_location @fonts_location end |
#format ⇒ Object
The destination format.
38 39 40 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 38 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.
44 45 46 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 44 def load_encoding @load_encoding end |
#name ⇒ Object
The file name.
36 37 38 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 36 def name @name end |
#out_path ⇒ Object
Path to save result
48 49 50 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 48 def out_path @out_path end |
#password ⇒ Object
Password for opening an encrypted document.
46 47 48 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 46 def password @password end |
#storage ⇒ Object
File storage, which have to be used.
42 43 44 |
# File 'lib/words_ruby_sdk/models/requests/GetDocumentWithFormatRequest.rb', line 42 def storage @storage end |