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-0.14.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.14.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.19 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.18 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.17 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.16 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.15 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.12 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.11 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.10 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.9 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.8 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.7 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.6 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.5 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.13.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb