Class: LastPass::Session

Inherits:
Object
  • Object
show all
Defined in:
lib/lastpass/session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_keyObject (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

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/lastpass/session.rb', line 6

def id
  @id
end

#key_iteration_countObject (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