Sha256: e840ea65771ef53e3a7992c22f5f8ec01d691bef87f8a75f2527cd771d301c67

Contents?: true

Size: 588 Bytes

Versions: 36

Compression:

Stored size: 588 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

36 entries across 36 versions & 1 rubygems

Version Path
metasploit-credential-0.9.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.9.0 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.9.0-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.9 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.8 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.7-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.7 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.6 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.6.pre.realm.pre.uniqueness app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.4-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.4 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.3-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.3 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.2 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.2-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.1-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.8.1 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.7.17-java app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.7.17 app/concerns/mdm/service/metasploit_credential_origin_service.rb
metasploit-credential-0.7.16-java app/concerns/mdm/service/metasploit_credential_origin_service.rb