Class: Types::DiffStatsSummaryType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::DiffStatsSummaryType
- 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
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user, #id
Methods included from Gitlab::Graphql::Present
Instance Method Details
#changes ⇒ Object
20 21 22 |
# File 'app/graphql/types/diff_stats_summary_type.rb', line 20 def changes object[:additions] + object[:deletions] end |