Class: Types::DiffStatsSummaryType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/diff_stats_summary_type.rb

Overview

rubocop: disable Graphql/AuthorizeTypes Types that use DiffStatsType should have their own authorization

Instance Method Summary collapse

Methods inherited from BaseObject

#current_user, #id

Instance Method Details

#changesObject


20
21
22
# File 'app/graphql/types/diff_stats_summary_type.rb', line 20

def changes
  object[:additions] + object[:deletions]
end