Class: Qiniu::RS::UP::ChunkProgressNotifier
- Inherits:
-
AbstractClass::ChunkProgressNotifier
- Object
- AbstractClass::ChunkProgressNotifier
- Qiniu::RS::UP::ChunkProgressNotifier
- Defined in:
- lib/qiniu/rs/up.rb
Instance Attribute Summary collapse
-
#tmpdata ⇒ Object
readonly
Returns the value of attribute tmpdata.
Instance Method Summary collapse
-
#initialize(id) ⇒ ChunkProgressNotifier
constructor
A new instance of ChunkProgressNotifier.
- #notify(index, progress) ⇒ Object
Constructor Details
#initialize(id) ⇒ ChunkProgressNotifier
Returns a new instance of ChunkProgressNotifier.
36 37 38 |
# File 'lib/qiniu/rs/up.rb', line 36 def initialize(id) @tmpdata = UP::TmpData.new(id, PROGRESS_TMP_FILE) end |
Instance Attribute Details
#tmpdata ⇒ Object (readonly)
Returns the value of attribute tmpdata.
35 36 37 |
# File 'lib/qiniu/rs/up.rb', line 35 def tmpdata @tmpdata end |