Class: AsposeWordsCloud::GetDocumentProtectionOnlineRequest
- Inherits:
-
Object
- Object
- AsposeWordsCloud::GetDocumentProtectionOnlineRequest
- Defined in:
- lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb
Overview
Request model for get_document_protection_online operation.
Instance Attribute Summary collapse
-
#document ⇒ Object
The document.
-
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
-
#password ⇒ Object
Password for opening an encrypted document.
Instance Method Summary collapse
-
#initialize(document, load_encoding = nil, password = nil) ⇒ GetDocumentProtectionOnlineRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(document, load_encoding = nil, password = nil) ⇒ GetDocumentProtectionOnlineRequest
Initializes a new instance.
47 48 49 50 51 |
# File 'lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb', line 47 def initialize(document, load_encoding = nil, password = nil) self.document = document self.load_encoding = load_encoding self.password = password end |
Instance Attribute Details
#document ⇒ Object
The document.
33 34 35 |
# File 'lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb', line 33 def document @document end |
#load_encoding ⇒ Object
Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
36 37 38 |
# File 'lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb', line 36 def load_encoding @load_encoding end |
#password ⇒ Object
Password for opening an encrypted document.
39 40 41 |
# File 'lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb', line 39 def password @password end |