Sha256: c49f49f56c30ae13601c75fdd885e3c12c5ba2c6d3f3552bda5c53d0183ba62f

Contents?: true

Size: 388 Bytes

Versions: 61

Compression:

Stored size: 388 Bytes

Contents

class Mdm::TaskSession < ActiveRecord::Base
  belongs_to :session,
             class_name: 'Mdm::Session',
             inverse_of: :task_sessions

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

  validates :session_id,
            :uniqueness => {
                :scope => :task_id
            }

  Metasploit::Concern.run(self)
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.5 app/models/mdm/task_session.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 app/models/mdm/task_session.rb
metasploit_data_models-0.24.1 app/models/mdm/task_session.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0b app/models/mdm/task_session.rb
metasploit_data_models-1.0.0.pre.rails.pre.4.0a app/models/mdm/task_session.rb
metasploit_data_models-0.24.0 app/models/mdm/task_session.rb
metasploit_data_models-0.23.3.pre.autoload app/models/mdm/task_session.rb
metasploit_data_models-0.23.2 app/models/mdm/task_session.rb
metasploit_data_models-0.23.2-java app/models/mdm/task_session.rb
metasploit_data_models-0.23.1 app/models/mdm/task_session.rb
metasploit_data_models-0.23.1-java app/models/mdm/task_session.rb
metasploit_data_models-0.23.0 app/models/mdm/task_session.rb
metasploit_data_models-0.23.0-java app/models/mdm/task_session.rb
metasploit_data_models-0.22.8 app/models/mdm/task_session.rb
metasploit_data_models-0.22.8-java app/models/mdm/task_session.rb
metasploit_data_models-0.22.7 app/models/mdm/task_session.rb
metasploit_data_models-0.22.7-java app/models/mdm/task_session.rb
metasploit_data_models-0.22.6 app/models/mdm/task_session.rb
metasploit_data_models-0.22.6-java app/models/mdm/task_session.rb
metasploit_data_models-0.22.5 app/models/mdm/task_session.rb