Class: MergeRequestUserEntity
- Inherits:
-
CurrentUserEntity
- Object
- Grape::Entity
- API::Entities::UserSafe
- API::Entities::UserBasic
- API::Entities::UserPath
- UserEntity
- CurrentUserEntity
- MergeRequestUserEntity
- Includes:
- BlobHelper, RequestAwareEntity, TreeHelper
- Defined in:
- app/serializers/merge_request_user_entity.rb
Constant Summary
Constants included from TreeHelper
Instance Method Summary collapse
Methods included from TreeHelper
#breadcrumb_data_attributes, #can_edit_tree?, #commit_in_fork_help, #commit_in_single_accessible_branch, #directory_download_links, #edit_in_new_fork_notice, #edit_in_new_fork_notice_action, #edit_in_new_fork_notice_now, #fast_project_blob_path, #fast_project_tree_path, #flatten_tree, #on_top_of_branch?, #path_breadcrumbs, #relative_url_root, #render_tree, #selected_branch, #tree_content_data, #tree_edit_branch, #tree_edit_project, #tree_icon, #tree_join, #up_dir_path, #vue_file_list_data
Methods included from BlobHelper
#blob_editor_paths, #blob_icon, #blob_raw_path, #blob_raw_url, #blob_render_error_options, #blob_render_error_reason, #can_modify_blob?, #contribution_options, #copy_blob_source_button, #copy_file_path_button, #delete_blob_link, #dockerfile_names, #download_blob_button, #edit_blob_button, #edit_blob_fork_params, #edit_blob_path, #edit_button_tag, #edit_disabled_button_tag, #edit_fork_button_tag, #edit_link_tag, #edit_modify_file_fork_params, #editing_ci_config?, #editing_preview_title, #encode_ide_path, #gitignore_names, #gitlab_ci_ymls, #highlight, #human_access, #ide_edit_button, #ide_edit_path, #ide_fork_and_edit_path, #leave_edit_message, #licenses_for_select, #metrics_dashboard_ymls, #modify_file_button, #no_highlight_files, #open_raw_blob_button, #readable_blob, #ref_project, #replace_blob_link, #sanitize_svg_data, #show_suggest_pipeline_creation_celebration?, #suggest_pipeline_commit_cookie_name
Methods included from RequestAwareEntity
Methods included from UsersHelper
#current_user_menu?, #current_user_menu_items, #impersonation_enabled?, #load_max_project_member_accesses, #max_project_member_access, #max_project_member_access_cache_key, #profile_tab?, #profile_tabs, #user_badges_in_admin_section, #user_email_help_text, #user_internal_regex_data, #user_link, #user_status, #work_information
Methods included from EmojiHelper
Instance Method Details
#project ⇒ Object
21 22 23 24 25 |
# File 'app/serializers/merge_request_user_entity.rb', line 21 def project return false unless request.respond_to?(:project) && request.project request.project end |