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-2.0.7 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.6 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.5 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.4 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-2.0.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.1.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.0.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.8 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.0.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.7 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.6 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0c app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0b app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-1.0.0.pre.rails.pre.4.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.5 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.4 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb