Sha256: 77e08654377dcb3b1a65fbe4405aa62b8ae009f8412fc23d33c121ef14766b41
Contents?: true
Size: 557 Bytes
Versions: 42
Compression:
Stored size: 557 Bytes
Contents
# {#name Platform} on which the {#detail Metasploit Module} can run. class Mdm::Module::Platform < ActiveRecord::Base self.table_name = 'module_platforms' # # Associations # # The Metasploit Module that can run on the {#name named} platform. belongs_to :detail, :class_name => 'Mdm::Module::Detail' # # Attributes # # @!attribute name # The name of the platform. # # @return [String] # # Validations # validates :detail, :presence => true validates :name, :presence => true Metasploit::Concern.run(self) end
Version data entries
42 entries across 42 versions & 1 rubygems