Class: Types::Ci::Config::JobType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/ci/config/job_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#restrict_when_to_run_jobsObject


38
39
40
# File 'app/graphql/types/ci/config/job_type.rb', line 38

def restrict_when_to_run_jobs
  object[:when]
end