Class: Gitlab::SlashCommands::Presenters::Deploy
- Defined in:
- lib/gitlab/slash_commands/presenters/deploy.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Routing
includes_helpers, redirect_legacy_paths, url_helpers
Constructor Details
This class inherits a constructor from Gitlab::SlashCommands::Presenters::Base
Instance Method Details
#action_not_found ⇒ Object
14 15 16 |
# File 'lib/gitlab/slash_commands/presenters/deploy.rb', line 14 def action_not_found ephemeral_response(text: "Couldn't find a deployment manual action.") end |
#present(from, to) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/gitlab/slash_commands/presenters/deploy.rb', line 7 def present(from, to) = "Deployment started from #{from} to #{to}. " \ "[Follow its progress](#{resource_url})." in_channel_response(text: ) end |