Class: LSP::PuppetFixDiagnosticErrorsRequest
- Defined in:
- lib/lsp/lsp_custom.rb
Overview
export interface PuppetFixDiagnosticErrorsRequestParams { documentUri: string; alwaysReturnContent: boolean; }
Instance Attribute Summary collapse
-
#alwaysReturnContent ⇒ Object
type: string # type: boolean.
-
#documentUri ⇒ Object
type: string # type: boolean.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#alwaysReturnContent ⇒ Object
type: string # type: boolean
146 147 148 |
# File 'lib/lsp/lsp_custom.rb', line 146 def alwaysReturnContent @alwaysReturnContent end |
#documentUri ⇒ Object
type: string # type: boolean
146 147 148 |
# File 'lib/lsp/lsp_custom.rb', line 146 def documentUri @documentUri end |
Instance Method Details
#from_h!(value) ⇒ Object
148 149 150 151 152 153 |
# File 'lib/lsp/lsp_custom.rb', line 148 def from_h!(value) value = {} if value.nil? self.documentUri = value['documentUri'] self.alwaysReturnContent = value['alwaysReturnContent'] self end |