Sha256: 334ab7c31f1023b4017b47fd384806f8ffb3331064b712d133338d5c1f382df2
Contents?: true
Size: 859 Bytes
Versions: 23
Compression:
Stored size: 859 Bytes
Contents
# Join model between {Mdm::Session} and {Mdm::Task} that signifies that the {#task} spawned the {#session}. class Mdm::TaskSession < ApplicationRecord # # Associations # # The {Mdm::Session} found by {#task}. belongs_to :session, class_name: 'Mdm::Session', inverse_of: :task_sessions # An {Mdm::Task} that found {#session} belongs_to :task, class_name: 'Mdm::Task', inverse_of: :task_sessions # # Attributes # # @!attribute created_at # When this task session was created. # # @return [DateTime] # @!attribute updated_at # The last time this task session was updated. # # @return [DateTime] # # Validations # validates :session_id, :uniqueness => { :scope => :task_id } Metasploit::Concern.run(self) end
Version data entries
23 entries across 23 versions & 2 rubygems