Class: Types::Ci::PipelineScheduleType
- Inherits:
-
BaseObject
- Object
- GraphQL::Schema::Object
- BaseObject
- Types::Ci::PipelineScheduleType
show all
- Defined in:
- app/graphql/types/ci/pipeline_schedule_type.rb
Instance Method Summary
collapse
Methods inherited from BaseObject
accepts, assignable?, authorization, authorize, authorized?, #current_user, #id
#present, #unpresented
Instance Method Details
#edit_path ⇒ Object
77
78
79
|
# File 'app/graphql/types/ci/pipeline_schedule_type.rb', line 77
def edit_path
::Gitlab::Routing.url_helpers.edit_project_pipeline_schedule_path(object.project, object)
end
|
#ref_path ⇒ Object
70
71
72
73
74
75
|
# File 'app/graphql/types/ci/pipeline_schedule_type.rb', line 70
def ref_path
ref_for_display = object.ref_for_display
return unless ref_for_display
::Gitlab::Routing.url_helpers.project_commits_path(object.project, ref_for_display)
end
|