Class: LastPass::Account
- Inherits:
-
Object
- Object
- LastPass::Account
- Defined in:
- lib/lastpass/account.rb
Instance Attribute Summary collapse
-
#group ⇒ Object
readonly
Returns the value of attribute group.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(id, name, username, password, url, group) ⇒ Account
constructor
A new instance of Account.
Constructor Details
#initialize(id, name, username, password, url, group) ⇒ Account
Returns a new instance of Account.
13 14 15 16 17 18 19 20 |
# File 'lib/lastpass/account.rb', line 13 def initialize id, name, username, password, url, group @id = id @name = name @username = username @password = password @url = url @group = group end |
Instance Attribute Details
#group ⇒ Object (readonly)
Returns the value of attribute group.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def group @group end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def id @id end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def name @name end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def password @password end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def url @url end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
6 7 8 |
# File 'lib/lastpass/account.rb', line 6 def username @username end |