Class: Types::Ci::DetailedStatusType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::DetailedStatusType
- Defined in:
- app/graphql/types/ci/detailed_status_type.rb
Overview
rubocop: disable Graphql/AuthorizeTypes This is presented through ‘PipelineType` that has its own authorization
Instance Method Summary collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorization_scopes, authorize, authorized?, #current_user
Methods included from Gitlab::Graphql::Present
Instance Method Details
#action ⇒ Object
55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'app/graphql/types/ci/detailed_status_type.rb', line 55 def action return unless object.has_action? { button_title: object., icon: object.action_icon, method: object.action_method, path: object.action_path, title: object.action_title, confirmation_message: object. } end |
#id(parent:) ⇒ Object
51 52 53 |
# File 'app/graphql/types/ci/detailed_status_type.rb', line 51 def id(parent:) "#{object.id}-#{parent.id}" end |