Sha256: 1873a504548ade3d3205a5c892207e1b3822bb65d9d0d46b3f796ffb6b137319

Contents?: true

Size: 459 Bytes

Versions: 43

Compression:

Stored size: 459 Bytes

Contents

class Mdm::Module::Target < ActiveRecord::Base
  self.table_name = 'module_targets'

  #
  # Associations
  #

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

  #
  # Mass Assignment Security
  #

  attr_accessible :index
  attr_accessible :name

  #
  # Validators
  #

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

  ActiveSupport.run_load_hooks(:mdm_module_target, self)
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
metasploit_data_models-0.17.2-java app/models/mdm/module/target.rb
metasploit_data_models-0.17.2 app/models/mdm/module/target.rb
metasploit_data_models-0.17.2.pre.metasploit.pre.data.pre.models.pre.search app/models/mdm/module/target.rb
metasploit_data_models-0.17.1-java app/models/mdm/module/target.rb
metasploit_data_models-0.17.1 app/models/mdm/module/target.rb
metasploit_data_models-0.17.0-java app/models/mdm/module/target.rb
metasploit_data_models-0.17.0 app/models/mdm/module/target.rb
metasploit_data_models-0.16.9 app/models/mdm/module/target.rb
metasploit_data_models-0.16.9-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.8 app/models/mdm/module/target.rb
metasploit_data_models-0.16.8-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.7-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.7 app/models/mdm/module/target.rb
metasploit_data_models-0.16.6-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.6 app/models/mdm/module/target.rb
metasploit_data_models-0.16.5-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.5 app/models/mdm/module/target.rb
metasploit_data_models-0.16.4-java app/models/mdm/module/target.rb
metasploit_data_models-0.16.4 app/models/mdm/module/target.rb
metasploit_data_models-0.16.3-java app/models/mdm/module/target.rb