Class: Adamantite::Base::PasswordObject
- Inherits:
-
Object
- Object
- Adamantite::Base::PasswordObject
- Defined in:
- lib/base/password_object.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#password_confirmation ⇒ Object
Returns the value of attribute password_confirmation.
-
#row_index ⇒ Object
Returns the value of attribute row_index.
-
#username ⇒ Object
Returns the value of attribute username.
-
#website_title ⇒ Object
Returns the value of attribute website_title.
Instance Method Summary collapse
-
#initialize(website_title = nil, username = nil, password = nil, password_confirmation = nil, row_index = nil) ⇒ PasswordObject
constructor
A new instance of PasswordObject.
Constructor Details
#initialize(website_title = nil, username = nil, password = nil, password_confirmation = nil, row_index = nil) ⇒ PasswordObject
Returns a new instance of PasswordObject.
6 7 8 9 10 11 12 |
# File 'lib/base/password_object.rb', line 6 def initialize(website_title = nil, username = nil, password = nil, password_confirmation = nil, row_index = nil) @website_title = website_title @username = username @password = password @password_confirmation = password_confirmation @row_index = row_index end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/base/password_object.rb', line 4 def password @password end |
#password_confirmation ⇒ Object
Returns the value of attribute password_confirmation.
4 5 6 |
# File 'lib/base/password_object.rb', line 4 def password_confirmation @password_confirmation end |
#row_index ⇒ Object
Returns the value of attribute row_index.
4 5 6 |
# File 'lib/base/password_object.rb', line 4 def row_index @row_index end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/base/password_object.rb', line 4 def username @username end |
#website_title ⇒ Object
Returns the value of attribute website_title.
4 5 6 |
# File 'lib/base/password_object.rb', line 4 def website_title @website_title end |