Class: AccountInfo
- Inherits:
-
Object
- Object
- AccountInfo
- Defined in:
- lib/quartz_flow/authentication.rb
Instance Attribute Summary collapse
-
#login ⇒ Object
Returns the value of attribute login.
-
#password_hash ⇒ Object
Returns the value of attribute password_hash.
-
#salt ⇒ Object
Returns the value of attribute salt.
Instance Method Summary collapse
-
#initialize(login = nil, password_hash = nil, salt = nil) ⇒ AccountInfo
constructor
A new instance of AccountInfo.
Constructor Details
#initialize(login = nil, password_hash = nil, salt = nil) ⇒ AccountInfo
Returns a new instance of AccountInfo.
6 7 8 9 10 |
# File 'lib/quartz_flow/authentication.rb', line 6 def initialize(login = nil, password_hash = nil, salt = nil) @login = login @password_hash = password_hash @salt = salt end |
Instance Attribute Details
#login ⇒ Object
Returns the value of attribute login.
11 12 13 |
# File 'lib/quartz_flow/authentication.rb', line 11 def login @login end |
#password_hash ⇒ Object
Returns the value of attribute password_hash.
12 13 14 |
# File 'lib/quartz_flow/authentication.rb', line 12 def password_hash @password_hash end |
#salt ⇒ Object
Returns the value of attribute salt.
13 14 15 |
# File 'lib/quartz_flow/authentication.rb', line 13 def salt @salt end |