Class: Perus::Server::Value

Inherits:
Sequel::Model
  • Object
show all
Defined in:
lib/perus/server/models/value.rb

Instance Method Summary collapse

Instance Method Details

#validateObject



6
7
8
9
# File 'lib/perus/server/models/value.rb', line 6

def validate
    super
    validates_presence [:system_id, :metric, :timestamp]
end