
#
# Gems
#
# gems must load explicitly any gem declared in gemspec
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
#
#

require 'metasploit/concern'
require 'metasploit_data_models'
require 'zip'

#
# Project
#

# Only include the Rails engine when using Rails.  This is for compatibility with metasploit-framework.
if defined? Rails
  require 'metasploit/credential/engine'
end

# Shared namespace for metasploit gems; used in {https://github.com/rapid7/metasploit-credential metasploit-credential},
# {https://github.com/rapid7/metasploit-framework metasploit-framework}, and
# {https://github.com/rapid7/metasploit-model metasploit-model}
module Metasploit
  # The namespace for this gem.
  module Credential
    extend ActiveSupport::Autoload

    autoload :EntityRelationshipDiagram
    autoload :Importer
    autoload :Exporter
    autoload :Origin
    autoload :Text

    def self.table_name_prefix
      'metasploit_credential_'
    end

  end
end



#
# Gems
#
# gems must load explicitly any gem declared in gemspec
# @see https://github.com/bundler/bundler/issues/2018#issuecomment-6819359
#
#

require 'metasploit/concern'
require 'metasploit_data_models'
require 'zip'

#
# Project
#

# Only include the Rails engine when using Rails.  This is for compatibility with metasploit-framework.
if defined? Rails
  require 'metasploit/credential/engine'
end

# Shared namespace for metasploit gems; used in {https://github.com/rapid7/metasploit-credential metasploit-credential},
# {https://github.com/rapid7/metasploit-framework metasploit-framework}, and
# {https://github.com/rapid7/metasploit-model metasploit-model}
module Metasploit
  # The namespace for this gem.
  module Credential
    extend ActiveSupport::Autoload

    autoload :EntityRelationshipDiagram
    autoload :Importer
    autoload :Exporter
    autoload :Origin
    autoload :Text

    # The prefix for all `ActiveRecord::Base#table_name`s for `ActiveRecord::Base` subclasses under this namespace.
    #
    # @return [String] `'metasploit_credential_'`
    def self.table_name_prefix
      'metasploit_credential_'
    end
  end
end


Add missing docs for Metasploit::Credential
Add missing docs for Metasploit::Credential

MSP-10130
