Sha256: 3cfd6db03647d4335135602841a6ab15fc161abff34155b1e62d5e54fe5341ff

Contents?: true

Size: 280 Bytes

Versions: 43

Compression:

Stored size: 280 Bytes

Contents

class Mdm::VulnAttempt < ActiveRecord::Base
  #
  # Relations
  #

  belongs_to :vuln, :class_name => 'Mdm::Vuln', :counter_cache => :vuln_attempt_count

  #
  # Validations
  #

  validates :vuln_id, :presence => true

  ActiveSupport.run_load_hooks(:mdm_vuln_attempt, self)
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
metasploit_data_models-0.17.0-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.17.0 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.9 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.9-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.8 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.8-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.7-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.7 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.6-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.6 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.5-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.5 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.4-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.4 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.3-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.1-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.1 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.0-java app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.16.0 app/models/mdm/vuln_attempt.rb
metasploit_data_models-0.15.2-java app/models/mdm/vuln_attempt.rb