Class: DiffsEntity

Inherits:
Grape::Entity
  • Object
show all
Includes:
DiffHelper, RequestAwareEntity
Defined in:
app/serializers/diffs_entity.rb

Direct Known Subclasses

DiffsMetadataEntity

Instance Method Summary collapse

Methods included from RequestAwareEntity

#request

Methods included from DiffHelper

#apply_diff_view_cookie!, #diff_file_blob_raw_path, #diff_file_blob_raw_url, #diff_file_changed_icon, #diff_file_changed_icon_color, #diff_file_html_data, #diff_file_old_blob_raw_path, #diff_file_old_blob_raw_url, #diff_line_content, #diff_match_line, #diff_options, #diff_view, #diffs_expanded?, #editable_diff?, #inline_diff_btn, #mark_inline_diffs, #parallel_diff_btn, #parallel_diff_discussions, #render_overflow_warning?, #submodule_diff_compare_link, #submodule_link

Instance Method Details

#merge_requestObject


85
86
87
# File 'app/serializers/diffs_entity.rb', line 85

def merge_request
  options[:merge_request]
end