Class: Security::Password
- Inherits:
-
Object
- Object
- Security::Password
- Defined in:
- lib/security/password.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#keychain ⇒ Object
readonly
Returns the value of attribute keychain.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
Instance Method Summary collapse
-
#initialize(keychain, attributes, password) ⇒ Password
constructor
A new instance of Password.
Constructor Details
#initialize(keychain, attributes, password) ⇒ Password
Returns a new instance of Password.
7 8 9 10 11 |
# File 'lib/security/password.rb', line 7 def initialize(keychain, attributes, password) @keychain = Keychain.new(keychain) @attributes = attributes @password = password end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
3 4 5 |
# File 'lib/security/password.rb', line 3 def attributes @attributes end |
#keychain ⇒ Object (readonly)
Returns the value of attribute keychain.
3 4 5 |
# File 'lib/security/password.rb', line 3 def keychain @keychain end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
3 4 5 |
# File 'lib/security/password.rb', line 3 def password @password end |