Sha256: af67b65ef7b1626c6f79f81f154893d6a2f17c24b9cc8d213dbf06884e06db43
Contents?: true
Size: 245 Bytes
Versions: 44
Compression:
Stored size: 245 Bytes
Contents
module Perus::Server class Value < Sequel::Model plugin :validation_helpers many_to_one :system def validate super validates_presence [:system_id, :metric, :timestamp] end end end
Version data entries
44 entries across 44 versions & 1 rubygems
Version | Path |
---|---|
perus-0.1.3 | lib/perus/server/models/value.rb |
perus-0.1.2 | lib/perus/server/models/value.rb |
perus-0.1.1 | lib/perus/server/models/value.rb |
perus-0.1.0 | lib/perus/server/models/value.rb |