Class: Types::Ci::AnalyticsPeriodType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::AnalyticsPeriodType
- Defined in:
- app/graphql/types/ci/analytics_period_type.rb
Overview
rubocop: disable Graphql/AuthorizeTypes – this type is authorized by the resolver
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
#count(status:) ⇒ Object
28 29 30 |
# File 'app/graphql/types/ci/analytics_period_type.rb', line 28 def count(status:) object[:count].fetch(status, 0) end |