Class: Fog::Storage::AzureRM::Real::BlockChunk
- Inherits:
-
Object
- Object
- Fog::Storage::AzureRM::Real::BlockChunk
- Defined in:
- lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb
Overview
This class is used to store chunk data for block blob before uploading.
Instance Attribute Summary collapse
-
#block_id ⇒ Object
readonly
Returns the value of attribute block_id.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
-
#id ⇒ Object
readonly
For debug.
Instance Method Summary collapse
-
#initialize(id, block_id, data) ⇒ BlockChunk
constructor
A new instance of BlockChunk.
Constructor Details
#initialize(id, block_id, data) ⇒ BlockChunk
Returns a new instance of BlockChunk.
12 13 14 15 16 |
# File 'lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb', line 12 def initialize(id, block_id, data) @id = id @block_id = block_id @data = data end |
Instance Attribute Details
#block_id ⇒ Object (readonly)
Returns the value of attribute block_id.
9 10 11 |
# File 'lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb', line 9 def block_id @block_id end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb', line 10 def data @data end |
#id ⇒ Object (readonly)
For debug
8 9 10 |
# File 'lib/fog/azurerm/requests/storage/multipart_save_block_blob.rb', line 8 def id @id end |