Sha256: 11c243afc68e4808ef51365802a91437e198656402ca07075145a8ed4b6ba28f
Contents?: true
Size: 711 Bytes
Versions: 27
Compression:
Stored size: 711 Bytes
Contents
module Spider; module Master class Installation < Spider::Model::Managed element :uuid, UUID element :name, String, :label => _('Name') choice :customer, Customer, :add_multiple_reverse => :installations element :apps, Text, :hidden => true element :ip_address, String element :hostname, String element :configuration, Text, :hidden => true element :last_check, DateTime, :hidden => true element :interval, Fixnum, :hidden => true def to_s str = self.name || self.uuid if self.customer str += " - #{self.customer}" end end end end; end
Version data entries
27 entries across 27 versions & 1 rubygems