Class: Onlyoffice::DocsIntegrationSdk::DocumentStorage::Callback::Request::Status
- Inherits:
-
T::Enum
- Object
- T::Enum
- Onlyoffice::DocsIntegrationSdk::DocumentStorage::Callback::Request::Status
- Extended by:
- T::Sig
- Defined in:
- lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb
Overview
Constant Summary collapse
- Editing =
new(1)
- Save =
new(2)
- SaveError =
new(3)
- Closed =
new(4)
- ForceSave =
new(6)
- ForceSaveError =
new(7)
Instance Method Summary collapse
-
#description ⇒ String
description returns the human-readable description of the status.
Instance Method Details
#description ⇒ String
description returns the human-readable description of the status.
194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
# File 'lib/onlyoffice/docs_integration_sdk/document_storage/callback.rb', line 194 def description case self when Editing "The document is being edited" when Save "The document is ready to be saved" when SaveError "An error occurred while saving the document" when Closed "The document was closed without changes" when ForceSave "Editing of the document continues, but the current state of the document is saved" when ForceSaveError "An error occurred while forcing the document to be saved" else # :nocov: # unreachable # :nocov: end end |