debian-mirror-gitlab/lib/gitlab/graphql.rb

12 lines
211 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
2018-11-08 19:23:39 +05:30
module Gitlab
module Graphql
StandardGraphqlError = Class.new(StandardError)
2018-12-23 12:14:25 +05:30
def self.enabled?
Feature.enabled?(:graphql, default_enabled: true)
end
2018-11-08 19:23:39 +05:30
end
end