Class: Bosh::Director::Models::Release

Inherits:
Object
  • Object
show all
Defined in:
lib/bosh/director/models/release.rb

Instance Method Summary collapse

Instance Method Details

#validateObject



11
12
13
14
15
# File 'lib/bosh/director/models/release.rb', line 11

def validate
  validates_presence :name
  validates_unique :name
  validates_format VALID_ID, :name
end