Class: Gitlab::SlashCommands::Presenters::IssueShow
- Includes:
- IssueBase
- Defined in:
- lib/gitlab/slash_commands/presenters/issue_show.rb
Instance Method Summary collapse
Methods included from IssueBase
#author, #color, #fields, #project, #status_text
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
#present ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/gitlab/slash_commands/presenters/issue_show.rb', line 9 def present if resource.confidential? ephemeral_response() else in_channel_response() end end |