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