Class: Types::Ci::JobArtifactType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::JobArtifactType
- Defined in:
- app/graphql/types/ci/job_artifact_type.rb
Overview
rubocop: disable Graphql/AuthorizeTypes
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
#download_path ⇒ Object
28 29 30 31 32 33 34 |
# File 'app/graphql/types/ci/job_artifact_type.rb', line 28 def download_path ::Gitlab::Routing.url_helpers.download_project_job_artifacts_path( object.project, object.job, file_type: object.file_type ) end |