Class: Perus::Server::Value
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Perus::Server::Value
- Defined in:
- lib/perus/server/models/value.rb
Instance Method Summary collapse
Instance Method Details
#validate ⇒ Object
6 7 8 9 |
# File 'lib/perus/server/models/value.rb', line 6 def validate super validates_presence [:system_id, :metric, :timestamp] end |