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