Class: Bosh::Director::Models::LogBundle

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

Instance Method Summary collapse

Instance Method Details

#validateObject



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

def validate
  validates_presence [:blobstore_id, :timestamp ]
  validates_unique [ :blobstore_id ]
end