Class: Sidetree::Model::Chunk
- Inherits:
-
Object
- Object
- Sidetree::Model::Chunk
- Defined in:
- lib/sidetree/model/chunk.rb
Instance Attribute Summary collapse
-
#chunk_file_uri ⇒ Object
readonly
Returns the value of attribute chunk_file_uri.
Instance Method Summary collapse
-
#initialize(chunk_file_uri) ⇒ Chunk
constructor
Initializer.
- #to_h ⇒ Object
Constructor Details
Instance Attribute Details
#chunk_file_uri ⇒ Object (readonly)
Returns the value of attribute chunk_file_uri.
4 5 6 |
# File 'lib/sidetree/model/chunk.rb', line 4 def chunk_file_uri @chunk_file_uri end |
Instance Method Details
#to_h ⇒ Object
16 17 18 |
# File 'lib/sidetree/model/chunk.rb', line 16 def to_h { chunkFileUri: chunk_file_uri } end |