Sha256: 619619737e6db9879672c63b0afe9e7c04705fce49ad0d73f69e0ff92f027000

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

class Mdm::TaskService < ActiveRecord::Base
  belongs_to :service,
             class_name: 'Mdm::Service',
             inverse_of: :task_services

  belongs_to :task,
             class_name: 'Mdm::Task',
             inverse_of: :task_services

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
metasploit_data_models-0.17.2-java app/models/mdm/task_service.rb
metasploit_data_models-0.17.2 app/models/mdm/task_service.rb
metasploit_data_models-0.17.2.pre.metasploit.pre.data.pre.models.pre.search app/models/mdm/task_service.rb
metasploit_data_models-0.17.1-java app/models/mdm/task_service.rb
metasploit_data_models-0.17.1 app/models/mdm/task_service.rb