debian-mirror-gitlab/app/models/clusters/instance.rb
2019-09-30 21:07:59 +05:30

13 lines
239 B
Ruby

# frozen_string_literal: true
module Clusters
class Instance
def clusters
Clusters::Cluster.instance_type
end
def feature_available?(feature)
::Feature.enabled?(feature, default_enabled: true)
end
end
end