Sha256: 1ed9d93ba5b854b09326b9f61632d6535a45641a4e712b7416ac1dccd6879a9c
Contents?: true
Size: 356 Bytes
Versions: 10
Compression:
Stored size: 356 Bytes
Contents
class DiscoveryAttributeSet < ApplicationRecord belongs_to :host, :class_name => "Host::Discovered", :foreign_key => :host_id validates :cpu_count, :presence => true, :numericality => {:greater_than_or_equal_to => 0} validates :memory, :presence => true, :numericality => {:greater_than_or_equal_to => 0} validates :host, :presence => true end
Version data entries
10 entries across 10 versions & 1 rubygems