rapid7/nexpose-client — pull request #98 by sgreen-r7 (2014-12-29 18:40:58+00:00)
Title: Refactor/Extract Common Credential Module

Renamed ``Credential`` to ``SiteCredential``.
Created a new super class ``Credential`` to hold the testing method(s), the constants and common modules.
This allowed both ``SiteCredential``, and ``SharedCredential`` to have access to the testing method to test newly created credentials.

Reference Issue: https://github.com/rapid7/nexpose-client/issues/96

@mdaines-r7 @asalazar-r7 @gschneider-r7

Main changes made are for the signature ``_to_param(target, engine_id, port)`` and setting the ``@port`` inside the ``test`` method.
Everything else should be exactly the same