Class: AzureBlob::BlockList
- Inherits:
-
Object
- Object
- AzureBlob::BlockList
- Includes:
- REXML
- Defined in:
- lib/azure_blob/block_list.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(blocks) ⇒ BlockList
constructor
A new instance of BlockList.
- #to_s ⇒ Object
Constructor Details
#initialize(blocks) ⇒ BlockList
Returns a new instance of BlockList.
10 11 12 13 |
# File 'lib/azure_blob/block_list.rb', line 10 def initialize(blocks) @blocks = blocks @document = build_document end |
Instance Method Details
#to_s ⇒ Object
15 16 17 |
# File 'lib/azure_blob/block_list.rb', line 15 def to_s document.to_s end |