Sha256: 90060a4894097271c957dfed856591cdc0e08a2ebb4ac574001c48a18e1a0b57

Contents?: true

Size: 287 Bytes

Versions: 23

Compression:

Stored size: 287 Bytes

Contents

class Mdm::TaskService < ActiveRecord::Base
  # attr_accessible :title, :body
  belongs_to :service, :class_name => 'Mdm::Service'
  belongs_to :task, :class_name =>  'Mdm::Task'

  validates :service_id,
            :uniqueness => {
                :scope => :task_id
            }
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
metasploit_data_models-0.17.0-java app/models/mdm/task_service.rb
metasploit_data_models-0.17.0 app/models/mdm/task_service.rb
metasploit_data_models-0.16.9 app/models/mdm/task_service.rb
metasploit_data_models-0.16.9-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.8 app/models/mdm/task_service.rb
metasploit_data_models-0.16.8-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.7-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.7 app/models/mdm/task_service.rb
metasploit_data_models-0.16.6-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.6 app/models/mdm/task_service.rb
metasploit_data_models-0.16.5-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.5 app/models/mdm/task_service.rb
metasploit_data_models-0.16.4-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.4 app/models/mdm/task_service.rb
metasploit_data_models-0.16.3-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.1-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.1 app/models/mdm/task_service.rb
metasploit_data_models-0.16.0-java app/models/mdm/task_service.rb
metasploit_data_models-0.16.0 app/models/mdm/task_service.rb
metasploit_data_models-0.15.2-java app/models/mdm/task_service.rb