Sha256: dc24dee823333ff52a86674045d226e4c2e6852dc6dd9c574b88c6b0c9f68650

Contents?: true

Size: 611 Bytes

Versions: 42

Compression:

Stored size: 611 Bytes

Contents

# The {#email} and {#name} of an author of a {#detail Metasploit Module}.
class Mdm::Module::Author < ActiveRecord::Base
  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

42 entries across 42 versions & 1 rubygems

Version Path
metasploit_data_models-2.0.7 app/models/mdm/module/author.rb
metasploit_data_models-2.0.6 app/models/mdm/module/author.rb
metasploit_data_models-2.0.5 app/models/mdm/module/author.rb
metasploit_data_models-2.0.4 app/models/mdm/module/author.rb
metasploit_data_models-2.0.1 app/models/mdm/module/author.rb
metasploit_data_models-2.0.0 app/models/mdm/module/author.rb
metasploit_data_models-1.3.0 app/models/mdm/module/author.rb
metasploit_data_models-1.2.11 app/models/mdm/module/author.rb
metasploit_data_models-1.2.10 app/models/mdm/module/author.rb
metasploit_data_models-1.2.9 app/models/mdm/module/author.rb
metasploit_data_models-1.2.8 app/models/mdm/module/author.rb
metasploit_data_models-1.2.7 app/models/mdm/module/author.rb
metasploit_data_models-1.2.6 app/models/mdm/module/author.rb
metasploit_data_models-1.2.5 app/models/mdm/module/author.rb
metasploit_data_models-1.2.4 app/models/mdm/module/author.rb
metasploit_data_models-1.2.3 app/models/mdm/module/author.rb
metasploit_data_models-1.2.2 app/models/mdm/module/author.rb
metasploit_data_models-1.2.1 app/models/mdm/module/author.rb
metasploit_data_models-1.2.0 app/models/mdm/module/author.rb
metasploit_data_models-1.1.0 app/models/mdm/module/author.rb