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