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



46
47
48
# File 'app/graphql/types/ci/config/job_type.rb', line 46

def restrict_when_to_run_jobs
  object[:when]
end