Module: Routing::GraphqlHelper
- Included in:
- GitlabRoutingHelper
- Defined in:
- app/helpers/routing/graphql_helper.rb
Instance Method Summary collapse
- #graphql_etag_pipeline_path(pipeline) ⇒ Object
- #graphql_etag_pipeline_sha_path(sha) ⇒ Object
- #graphql_etag_project_on_demand_scan_counts_path(project) ⇒ Object
Instance Method Details
#graphql_etag_pipeline_path(pipeline) ⇒ Object
5 6 7 |
# File 'app/helpers/routing/graphql_helper.rb', line 5 def graphql_etag_pipeline_path(pipeline) [api_graphql_path, "pipelines/id/#{pipeline.id}"].join(':') end |
#graphql_etag_pipeline_sha_path(sha) ⇒ Object
9 10 11 |
# File 'app/helpers/routing/graphql_helper.rb', line 9 def graphql_etag_pipeline_sha_path(sha) [api_graphql_path, "pipelines/sha/#{sha}"].join(':') end |
#graphql_etag_project_on_demand_scan_counts_path(project) ⇒ Object
13 14 15 |
# File 'app/helpers/routing/graphql_helper.rb', line 13 def graphql_etag_project_on_demand_scan_counts_path(project) [api_graphql_path, "on_demand_scan/counts/#{project.full_path}"].join(':') end |