Class: Posgra::Identifier::Auto
- Inherits:
-
Object
- Object
- Posgra::Identifier::Auto
- Defined in:
- lib/posgra/identifier/auto.rb
Instance Method Summary collapse
- #identify(user) ⇒ Object
-
#initialize(output, options = {}) ⇒ Auto
constructor
A new instance of Auto.
Constructor Details
#initialize(output, options = {}) ⇒ Auto
Returns a new instance of Auto.
2 3 4 5 |
# File 'lib/posgra/identifier/auto.rb', line 2 def initialize(output, = {}) @output = output @options = end |
Instance Method Details
#identify(user) ⇒ Object
7 8 9 10 11 |
# File 'lib/posgra/identifier/auto.rb', line 7 def identify(user) password = mkpasswd puts_password(user, password) password end |