Sha256: ff94b1c44924733b8f42db26aff7036b16debae83207929f41219f1da989e78c
Contents?: true
Size: 1.08 KB
Versions: 23
Compression:
Stored size: 1.08 KB
Contents
# @deprecated {Mdm::Task} has and belongs to many `Metasploit::Credential::Cores` in `Mdm::Task#credential_cores` and # has and belongs to many `Metasploit::Credential::Logins` in `Mdm::Task#credential_logins` when the # `Metasploit::Credential::Engine` is installed. # # Join model between {Mdm::Cred} and {Mdm::Task} that signifies that the {#task} found the {#cred}. class Mdm::TaskCred < ApplicationRecord # # Associations # # The {Mdm::Cred} found by {#task}. belongs_to :cred, class_name: 'Mdm::Cred', inverse_of: :task_creds # An {Mdm::Task} that found {#cred}. belongs_to :task, class_name: 'Mdm::Task', inverse_of: :task_creds # # Attributes # # @!attribute [rw] created_at # When this task cred was created. # # @return [DateTime] # @!attribute [rw] updated_at # The last time this task cred was updated. # # @return [DateTime] # # Validations # validates :cred_id, :uniqueness => { :scope => :task_id } Metasploit::Concern.run(self) end
Version data entries
23 entries across 23 versions & 2 rubygems