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, authorize, authorized?, #current_user
Methods included from Gitlab::Graphql::Present
Instance Method Details
#action ⇒ Object
41 42 43 44 45 46 47 48 49 50 51 |
# File 'app/graphql/types/ci/detailed_status_type.rb', line 41 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 } end |
#id(parent:) ⇒ Object
37 38 39 |
# File 'app/graphql/types/ci/detailed_status_type.rb', line 37 def id(parent:) "#{object.id}-#{parent.id}" end |