Sha256: a9f9571676d0788f98adfa5853e7db4068158c6d4fbfd7f98f3bc221f37d04ef

Contents?: true

Size: 443 Bytes

Versions: 24

Compression:

Stored size: 443 Bytes

Contents

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

  belongs_to :task, :class_name => 'Mdm::Task'
  belongs_to :workspace, :class_name => 'Mdm::Workspace'

  #
  # Serializations
  #

  serialize :options, MetasploitDataModels::Base64Serializer.new

  #
  # Validations
  #

  validates :address, :ip_format => true, :presence => true
  validates :port, :presence => true

  ActiveSupport.run_load_hooks(:mdm_listener, self)
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
metasploit_data_models-0.7.0-java app/models/mdm/listener.rb
metasploit_data_models-0.6.16 app/models/mdm/listener.rb
metasploit_data_models-0.6.14 app/models/mdm/listener.rb
metasploit_data_models-0.6.13 app/models/mdm/listener.rb