Sha256: c9ad9310f9a1016e983af8d0ba4f0211fbd84a3d035fabde4124ef5384821ef8

Contents?: true

Size: 599 Bytes

Versions: 22

Compression:

Stored size: 599 Bytes

Contents

# @deprecated Never populated by metasploit-framework.
#
# Module mixed into a {#detail Metasploit Module}.
class Mdm::Module::Mixin < ApplicationRecord
  self.table_name = 'module_mixins'

  #
  # Associations
  #

  # Metasploit Module the {#name named} `Module` was mixed in.
  belongs_to :detail, :class_name => 'Mdm::Module::Detail'

  #
  # Attributes
  #

  # @!attribute name
  #   The `Module#name` of the mixed in `Module`.
  #
  #   @return [String]

  #
  # Validation
  #

  validates :detail, :presence => true
  validates :name, :presence => true

  Metasploit::Concern.run(self)
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.5 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.4 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.3 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.2 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.1 app/models/mdm/module/mixin.rb
metasploit_data_models-6.0.0 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.6 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.5 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.4 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.3 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.2 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.1 app/models/mdm/module/mixin.rb
metasploit_data_models-5.0.0 app/models/mdm/module/mixin.rb
metasploit_data_models-4.1.4 app/models/mdm/module/mixin.rb
metasploit_data_models-4.1.3 app/models/mdm/module/mixin.rb
metasploit_data_models-4.1.2 app/models/mdm/module/mixin.rb
metasploit_data_models-4.1.1 app/models/mdm/module/mixin.rb
metasploit_data_models-4.1.0 app/models/mdm/module/mixin.rb
metasploit_data_models-4.0.2 app/models/mdm/module/mixin.rb