Sha256: 0052109742a2543a8a627f448dbd4ddfd980dae74944b22471e08e301acc1b50

Contents?: true

Size: 610 Bytes

Versions: 22

Compression:

Stored size: 610 Bytes

Contents

# The {#email} and {#name} of an author of a {#detail Metasploit Module}.
class Mdm::Module::Author < ApplicationRecord
  self.table_name = 'module_authors'

  #
  # Associations
  #

  # The authored Metasploit Module.
  belongs_to :detail, :class_name => 'Mdm::Module::Detail'

  #
  # Attributes
  #

  # @!attribute email
  #   The email address of the author.
  #
  #   @return [String]

  # @!attribute name
  #   The name of the author.
  #
  #   @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

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