Sha256: 2b6ba2e6f7b97a2fe8f6071d1062d823249bbed07419495f25f66aa16c15780a
Contents?: true
Size: 700 Bytes
Versions: 35
Compression:
Stored size: 700 Bytes
Contents
module Spider; module Master class Command < Spider::Model::Managed element :installation, Installation, :add_multiple_reverse => :commands element :uuid, UUID element :name, String element :arguments, Text element :status, { 'pending' => 'Pending', 'sent' => 'Sent', 'success' => 'Success', 'failure' => 'Failure', 'not_done' => 'Not done' }, :default => 'pending' element :sent, DateTime element :done, DateTime element :result, Text def to_s "#{self.name} '#{self.arguments}' - #{self.status}" end end end; end
Version data entries
35 entries across 35 versions & 1 rubygems