Class: LastPass::Session
- Inherits:
-
Object
- Object
- LastPass::Session
- Defined in:
- lib/lastpass/session.rb
Instance Attribute Summary collapse
-
#encrypted_private_key ⇒ Object
readonly
Returns the value of attribute encrypted_private_key.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#key_iteration_count ⇒ Object
readonly
Returns the value of attribute key_iteration_count.
Instance Method Summary collapse
-
#initialize(id, key_iteration_count, encrypted_private_key) ⇒ Session
constructor
A new instance of Session.
Constructor Details
#initialize(id, key_iteration_count, encrypted_private_key) ⇒ Session
Returns a new instance of Session.
10 11 12 13 14 |
# File 'lib/lastpass/session.rb', line 10 def initialize id, key_iteration_count, encrypted_private_key @id = id @key_iteration_count = key_iteration_count @encrypted_private_key = encrypted_private_key end |
Instance Attribute Details
#encrypted_private_key ⇒ Object (readonly)
Returns the value of attribute encrypted_private_key.
6 7 8 |
# File 'lib/lastpass/session.rb', line 6 def encrypted_private_key @encrypted_private_key end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
6 7 8 |
# File 'lib/lastpass/session.rb', line 6 def id @id end |
#key_iteration_count ⇒ Object (readonly)
Returns the value of attribute key_iteration_count.
6 7 8 |
# File 'lib/lastpass/session.rb', line 6 def key_iteration_count @key_iteration_count end |