Sha256: 823117ce2b31acc03e5fc013152a3578f03472467c6f1a8abcfbc91bda5b2a8e
Contents?: true
Size: 556 Bytes
Versions: 22
Compression:
Stored size: 556 Bytes
Contents
# {#name Platform} on which the {#detail Metasploit Module} can run. class Mdm::Module::Platform < ApplicationRecord 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
22 entries across 22 versions & 2 rubygems