Sha256: 592c69ad94278d63bb1b3e6e9ac9baf8ce4a3aa3daad79964d5f1231fb39a882
Contents?: true
Size: 641 Bytes
Versions: 9
Compression:
Stored size: 641 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 :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
9 entries across 9 versions & 1 rubygems