Class: Mdm::Task

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/mdm/task.rb

Instance Attribute Summary collapse

Instance Attribute Details

#credsArray<Mdm::TaskCred>

Creds this task touched

Returns:



28
# File 'app/models/mdm/task.rb', line 28

has_many :creds, :through => :task_creds, :class_name => 'Mdm::Cred'

#hostsArray<Mdm::TaskHost>

Hosts this task touched

Returns:



40
# File 'app/models/mdm/task.rb', line 40

has_many :hosts, :through => :task_hosts, :class_name => 'Mdm::Host'

#servicesArray<Mdm::TaskHost>

Services this task touched

Returns:



52
# File 'app/models/mdm/task.rb', line 52

has_many :services, :through => :task_services, :class_name => 'Mdm::Service'

#task_credsArray<Mdm::TaskCred>

Details about creds this task touched

Returns:



22
# File 'app/models/mdm/task.rb', line 22

has_many :task_creds, :dependent => :destroy, :class_name => 'Mdm::TaskCred'

#task_hostsArray<Mdm::TaskHost>

Details about hosts this task touched

Returns:



34
# File 'app/models/mdm/task.rb', line 34

has_many :task_hosts, :dependent => :destroy, :class_name => 'Mdm::TaskHost'

#task_servicesArray<Mdm::TaskService>

Details about services this task touched

Returns:



46
# File 'app/models/mdm/task.rb', line 46

has_many :task_services, :dependent => :destroy, :class_name => 'Mdm::TaskService'

#workspaceMdm::Workspace

The Workspace the Task belongs to

Returns:



16
# File 'app/models/mdm/task.rb', line 16

belongs_to :workspace,  :class_name => "Mdm::Workspace"