gitlab-org--gitlab-foss/app/models/project_snippet.rb

9 lines
174 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class ProjectSnippet < Snippet
belongs_to :project
validates :project, presence: true
validates :secret, inclusion: { in: [false] }
end