2018-07-25 05:30:33 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2013-03-24 11:26:49 -04:00
|
|
|
class ProjectSnippet < Snippet
|
|
|
|
belongs_to :project
|
|
|
|
|
|
|
|
validates :project, presence: true
|
2019-11-19 01:06:07 -05:00
|
|
|
validates :secret, inclusion: { in: [false] }
|
2013-03-24 11:26:49 -04:00
|
|
|
end
|