Class: Holistic::LanguageServer::Request
- Inherits:
-
Struct
- Object
- Struct
- Holistic::LanguageServer::Request
- Defined in:
- lib/holistic/language_server/request.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
Returns the value of attribute application.
-
#message ⇒ Object
Returns the value of attribute message.
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
- #drop ⇒ Object
- #param(*keys) ⇒ Object
- #respond_with(result) ⇒ Object
- #respond_with_error(code:, description: nil, data: nil) ⇒ Object
Instance Attribute Details
#application ⇒ Object
Returns the value of attribute application
4 5 6 |
# File 'lib/holistic/language_server/request.rb', line 4 def application @application end |
#message ⇒ Object
Returns the value of attribute message
4 5 6 |
# File 'lib/holistic/language_server/request.rb', line 4 def @message end |
#response ⇒ Object
Returns the value of attribute response
4 5 6 |
# File 'lib/holistic/language_server/request.rb', line 4 def response @response end |
Instance Method Details
#drop ⇒ Object
13 14 15 |
# File 'lib/holistic/language_server/request.rb', line 13 def drop self.response = Response::Drop.new end |
#param(*keys) ⇒ Object
17 18 19 |
# File 'lib/holistic/language_server/request.rb', line 17 def param(*keys) .param(*keys) end |