Class: Adamantite::Base::PasswordObject

Inherits:
Object
  • Object
show all
Defined in:
lib/base/password_object.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/base/password_object.rb', line 4

def password
  @password
end

#password_confirmationObject

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_indexObject

Returns the value of attribute row_index.



4
5
6
# File 'lib/base/password_object.rb', line 4

def row_index
  @row_index
end

#usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/base/password_object.rb', line 4

def username
  @username
end

#website_titleObject

Returns the value of attribute website_title.



4
5
6
# File 'lib/base/password_object.rb', line 4

def website_title
  @website_title
end