Sha256: 759ed48e210ccd971bd46c1f105181f92b71eb837179bff90e1ac28d46fc15e2
Contents?: true
Size: 817 Bytes
Versions: 7
Compression:
Stored size: 817 Bytes
Contents
class MetasploitDataModels::AutomaticExploitation::MatchSet < ActiveRecord::Base attr_accessible :user_id, :workspace_id, :minimum_rank 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
7 entries across 7 versions & 1 rubygems