Sha256: d07300fd32d8ce07dab3e8e5a14028e7898040b28ef11862561bf8a9b5ede543

Contents?: true

Size: 501 Bytes

Versions: 86

Compression:

Stored size: 501 Bytes

Contents

# Add `logins` association to `Mdm::Service`.
module Mdm::Service::MetasploitCredentialLogin
  extend ActiveSupport::Concern

  included do
    #
    # Associations
    #

    # @!attribute logins
    #   The {Metasploit::Credential::Login logins} to this service.
    #
    #   @return [ActiveRecord::Relation<Metasploit::Credential::Login>]
    has_many :logins,
             class_name: 'Metasploit::Credential::Login',
             dependent: :destroy,
             inverse_of: :service
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
metasploit-credential-6.0.11 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.10 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.9 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.8 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.7 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.6 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.5 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.4 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.3 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.2 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.1 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-6.0.0 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.9 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.8 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.7 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.6 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.5 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.4 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.3 app/concerns/mdm/service/metasploit_credential_login.rb
metasploit-credential-5.0.2 app/concerns/mdm/service/metasploit_credential_login.rb