Class: PaginatedDiffEntity
- Inherits:
-
Grape::Entity
- Object
- Grape::Entity
- PaginatedDiffEntity
- Includes:
- DiffHelper, RequestAwareEntity
- Defined in:
- app/serializers/paginated_diff_entity.rb
Overview
Serializes diffs with pagination data.
Avoid adding more keys to this serializer as processing the diff file serialization is not cheap.
Method Summary
Methods included from DiffHelper
#apply_diff_view_cookie!, #collapsed_diff_url, #conflicts, #diff_file_blob_raw_path, #diff_file_blob_raw_url, #diff_file_html_data, #diff_file_old_blob_raw_path, #diff_file_old_blob_raw_url, #diff_file_stats_data, #diff_line_content, #diff_link_number, #diff_match_line, #diff_nomappinginraw_line, #diff_options, #diff_view, #diffs_expanded?, #editable_diff?, #inline_diff_btn, #mark_inline_diffs, #parallel_diff_btn, #parallel_diff_discussions, #params_with_whitespace, #render_fork_suggestion, #render_overflow_warning?, #show_only_context_commits?, #submodule_diff_compare_link, #submodule_link