Sha256: 95d7698163a64953023a065f8a3ec02c5e223e5d1fd63bf33dc7ae588478a7b8
Contents?: true
Size: 760 Bytes
Versions: 2
Compression:
Stored size: 760 Bytes
Contents
class MetasploitDataModels::AutomaticExploitation::MatchSet < ActiveRecord::Base has_many :runs, class_name: "MetasploitDataModels::AutomaticExploitation::Run", inverse_of: :match_set has_many :matches, class_name: "MetasploitDataModels::AutomaticExploitation::Match", inverse_of: :match_set, dependent: :destroy belongs_to :workspace, inverse_of: :automatic_exploitation_match_sets, class_name: "Mdm::Workspace" belongs_to :user, inverse_of: :automatic_exploitation_match_sets, class_name: "Mdm::User" validates :user, presence: true validates :workspace, presence: true Metasploit::Concern.run(self) end
Version data entries
2 entries across 2 versions & 1 rubygems