Sha256: 15562afd0fa924d2bbdc1efcd49c24496df5bafcf53e8659253ac58ddd35ccb6
Contents?: true
Size: 823 Bytes
Versions: 45
Compression:
Stored size: 823 Bytes
Contents
# Join model between {Mdm::Host} and {Mdm::Task} that signifies that the {#task} found the {#host}. class Mdm::TaskHost < ActiveRecord::Base # # Associations # # The {Mdm::Host} found by {#task}. belongs_to :host, class_name: 'Mdm::Host', inverse_of: :task_hosts # An {Mdm::Task} that found {#host}. belongs_to :task, class_name: 'Mdm::Task', inverse_of: :task_hosts # # Attributes # # @!attribute created_at # When this task host was created. # # @return [DateTime] # @!attribute updated_at # The last time this task host was updated. # # @return [DateTime] # # Validations # validates :host_id, :uniqueness => { :scope => :task_id } Metasploit::Concern.run(self) end
Version data entries
45 entries across 45 versions & 1 rubygems