Class: Mutations::Ci::Job::Base
- Inherits:
-
BaseMutation
- Object
- GraphQL::Schema::RelayClassicMutation
- BaseMutation
- Mutations::Ci::Job::Base
- Defined in:
- app/graphql/mutations/ci/job/base.rb
Direct Known Subclasses
Constant Summary collapse
- JobID =
::Types::GlobalIDType[::Ci::Build]
Constants inherited from BaseMutation
Constants included from Gitlab::Graphql::Authorize::AuthorizeResource
Gitlab::Graphql::Authorize::AuthorizeResource::ConfigurationError, Gitlab::Graphql::Authorize::AuthorizeResource::RESOURCE_ACCESS_ERROR
Instance Method Summary collapse
Methods inherited from BaseMutation
#api_user?, authorization, authorized?, authorizes_object?, #current_user, #errors_on_object, #load_application_object, #read_only?, #ready?, #unauthorized_object
Methods included from Gitlab::Graphql::Authorize::AuthorizeResource
#authorize!, #authorized_find!, #authorized_resource?, #raise_resource_not_available_error!
Instance Method Details
#find_object(id:) ⇒ Object
13 14 15 |
# File 'app/graphql/mutations/ci/job/base.rb', line 13 def find_object(id:) GlobalID::Locator.locate(id) end |