Sha256: 7203fd2a9fdbf6d7e08916533e7193d8b146764bdf6861f37f4c767e5899b4eb

Contents?: true

Size: 369 Bytes

Versions: 59

Compression:

Stored size: 369 Bytes

Contents

class Mdm::Module::Mixin < ActiveRecord::Base
  self.table_name = 'module_mixins'

  #
  # Associations
  #

  belongs_to :detail, :class_name => 'Mdm::Module::Detail'

  #
  # Mass Assignment Security
  #

  attr_accessible :name

  #
  # Validation
  #

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

  Metasploit::Concern.run(self)
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.5 app/models/mdm/module/mixin.rb
metasploit_data_models-0.24.1.pre.rspec.pre.3.pre.1 app/models/mdm/module/mixin.rb
metasploit_data_models-0.24.1 app/models/mdm/module/mixin.rb
metasploit_data_models-0.24.0 app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.3.pre.autoload app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.2 app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.2-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.1 app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.1-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.0 app/models/mdm/module/mixin.rb
metasploit_data_models-0.23.0-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.8 app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.8-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.7 app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.7-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.6 app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.6-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.5 app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.5-java app/models/mdm/module/mixin.rb
metasploit_data_models-0.22.4 app/models/mdm/module/mixin.rb