Sha256: ab7c2181943554ed9942edc8e3f1861f7e2bf9b55310bce969342a9fae880483

Contents?: true

Size: 600 Bytes

Versions: 42

Compression:

Stored size: 600 Bytes

Contents

# @deprecated Never populated by metasploit-framework.
#
# Module mixed into a {#detail Metasploit Module}.
class Mdm::Module::Mixin < ActiveRecord::Base
  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

42 entries across 42 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.9 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.8 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.7 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.6 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.5 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.17 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.4 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.2 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.1 app/models/mdm/module/mixin.rb
metasploit_data_models-3.0.0 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.16 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.15 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.14 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.13 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.12 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.11 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.10 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.9 app/models/mdm/module/mixin.rb
metasploit_data_models-2.0.8 app/models/mdm/module/mixin.rb