Class: Ci::GroupVariablePresenter

Inherits:
Gitlab::View::Presenter::Delegated show all
Defined in:
app/presenters/ci/group_variable_presenter.rb

Instance Attribute Summary

Attributes included from Gitlab::View::Presenter::Base

#subject

Instance Method Summary collapse

Methods inherited from Gitlab::View::Presenter::Delegated

#initialize

Methods included from Gitlab::View::Presenter::Base

#can?, #declarative_policy_delegate, #is_a?, #present, #url_builder, #web_path, #web_url

Methods included from Gitlab::Allowable

#can?

Methods included from Gitlab::Routing

add_helpers, includes_helpers, redirect_legacy_paths, url_helpers

Constructor Details

This class inherits a constructor from Gitlab::View::Presenter::Delegated

Instance Method Details

#delete_pathObject


19
20
21
# File 'app/presenters/ci/group_variable_presenter.rb', line 19

def delete_path
  group_variables_path(group)
end

#edit_pathObject


15
16
17
# File 'app/presenters/ci/group_variable_presenter.rb', line 15

def edit_path
  group_variables_path(group)
end

#form_pathObject


11
12
13
# File 'app/presenters/ci/group_variable_presenter.rb', line 11

def form_path
  group_settings_ci_cd_path(group)
end

#placeholderObject


7
8
9
# File 'app/presenters/ci/group_variable_presenter.rb', line 7

def placeholder
  'GROUP_VARIABLE'
end