Class: Gitlab::SlashCommands::Presenters::Error
- Defined in:
- lib/gitlab/slash_commands/presenters/error.rb
Instance Method Summary collapse
-
#initialize(message) ⇒ Error
constructor
A new instance of Error.
- #message ⇒ Object
Methods inherited from Base
Methods included from Routing
includes_helpers, redirect_legacy_paths, url_helpers
Constructor Details
#initialize(message) ⇒ Error
Returns a new instance of Error.
7 8 9 |
# File 'lib/gitlab/slash_commands/presenters/error.rb', line 7 def initialize() @message = end |
Instance Method Details
#message ⇒ Object
11 12 13 |
# File 'lib/gitlab/slash_commands/presenters/error.rb', line 11 def ephemeral_response(text: @message) end |