Class: LSP::Unregistration
Overview
export interface Unregistration
/**
* The id used to unregister the request or notification. Usually an id
* provided during the register request.
*/
id: string;
/**
* The method to unregister for.
*/
method: string;
Instance Attribute Summary collapse
-
#id ⇒ Object
type: string # type: string.
-
#method__lsp ⇒ Object
type: string # type: string.
Instance Method Summary collapse
Methods inherited from LSPBase
Constructor Details
This class inherits a constructor from LSP::LSPBase
Instance Attribute Details
#id ⇒ Object
type: string # type: string
68 69 70 |
# File 'lib/lsp/lsp_protocol.rb', line 68 def id @id end |
#method__lsp ⇒ Object
type: string # type: string
68 69 70 |
# File 'lib/lsp/lsp_protocol.rb', line 68 def method__lsp @method__lsp end |
Instance Method Details
#from_h!(value) ⇒ Object
70 71 72 73 74 75 |
# File 'lib/lsp/lsp_protocol.rb', line 70 def from_h!(value) value = {} if value.nil? self.id = value['id'] self.method__lsp = value['method'] self end |