Class: Types::Ci::StatusActionType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::StatusActionType
- Defined in:
- app/graphql/types/ci/status_action_type.rb
Overview
rubocop: disable Graphql/AuthorizeTypes
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_method ⇒ Object
31 32 33 |
# File 'app/graphql/types/ci/status_action_type.rb', line 31 def action_method object[:method] end |
#id(parent:) ⇒ Object
26 27 28 29 |
# File 'app/graphql/types/ci/status_action_type.rb', line 26 def id(parent:) # parent is a SimpleDelegator "#{parent.subject.class.name}-#{parent.id}" end |