Class: Bosh::Director::Models::Task

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

Instance Method Summary collapse

Instance Method Details

#validateObject



6
7
8
# File 'lib/bosh/director/models/task.rb', line 6

def validate
  validates_presence [:state, :timestamp, :description]
end