Class: Types::Ci::DurationStatisticsType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::DurationStatisticsType
- Defined in:
- app/graphql/types/ci/duration_statistics_type.rb
Overview
rubocop: disable Graphql/AuthorizeTypes – this represents a hash, from the computed percentiles query
Constant Summary collapse
- PERCENTILES =
::Ci::CollectPipelineAnalyticsServiceBase::ALLOWED_PERCENTILES
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
#mean ⇒ Object
26 27 28 |
# File 'app/graphql/types/ci/duration_statistics_type.rb', line 26 def mean object[:mean] || object[:mean_duration] end |