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.20.0 app/models/mdm/task_session.rb
metasploit_data_models-0.20.0-java app/models/mdm/task_session.rb
metasploit_data_models-0.19.8 app/models/mdm/task_session.rb
metasploit_data_models-0.19.8-java app/models/mdm/task_session.rb
metasploit_data_models-0.19.7 app/models/mdm/task_session.rb
metasploit_data_models-0.19.7-java app/models/mdm/task_session.rb
metasploit_data_models-0.19.4 app/models/mdm/task_session.rb
metasploit_data_models-0.19.4-java app/models/mdm/task_session.rb
metasploit_data_models-0.19.3-java app/models/mdm/task_session.rb
metasploit_data_models-0.19.3 app/models/mdm/task_session.rb
metasploit_data_models-0.19.0 app/models/mdm/task_session.rb
metasploit_data_models-0.19.0-java app/models/mdm/task_session.rb
metasploit_data_models-0.18.1-java app/models/mdm/task_session.rb
metasploit_data_models-0.18.1 app/models/mdm/task_session.rb
metasploit_data_models-0.18.0 app/models/mdm/task_session.rb
metasploit_data_models-0.18.0-java app/models/mdm/task_session.rb
metasploit_data_models-0.18.0.pre.compatibility app/models/mdm/task_session.rb
metasploit_data_models-0.17.3-java app/models/mdm/task_session.rb
metasploit_data_models-0.17.3 app/models/mdm/task_session.rb
metasploit_data_models-0.17.3.pre.metasploit.pre.concern-java app/models/mdm/task_session.rb