Welcome to mirror list, hosted at ThFree Co, Russian Federation.

graphql.rb « resource « qa « qa - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0568551f6b58bab57c8996638195cec711c73010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# rubocop:todo Naming/FileName
# frozen_string_literal: true

module QA
  module Resource
    module GraphQL
      # All GraphQL queries and mutations use the same path, `/graphql`
      #
      # @return [String]
      def api_get_path
        "/graphql"
      end

      alias_method :api_post_path, :api_get_path
      alias_method :api_delete_path, :api_get_path
    end
  end
end

# rubocop:enable Naming/FileName