Sha256: 6af472024bc5389be35e6fbef9fc6077d985d8ea5c08409fc3fd0d565dcfaa4e

Contents?: true

Size: 589 Bytes

Versions: 86

Compression:

Stored size: 589 Bytes

Contents

# Add `credential_origins` association to `Mdm::Service`.
module Mdm::Service::MetasploitCredentialOriginService
  extend ActiveSupport::Concern

  included do
    #
    # Associations
    #

    # @!attribute credential_origins
    #   The {Metasploit::Credential::Origin::Service credential origins} from this service.
    #
    #   @return [ActiveRecord::Relation<Metasploit::Credential::Origin::Service>]
    has_many :credential_origins,
             class_name: 'Metasploit::Credential::Origin::Service',
             dependent: :destroy,
             inverse_of: :service
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
metasploit-credential-5.0.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-5.0.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.5 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.4 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-4.0.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-3.0.4 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-3.0.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-3.0.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-3.0.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-3.0.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.14 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.13 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.12 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.11 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.10 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.9 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.8 app/concerns/mdm/service/metasploit_credential_origin_service.rb