Class: Qiniu2Upyun::Migrating
- Inherits:
-
Object
- Object
- Qiniu2Upyun::Migrating
- Defined in:
- lib/qiniu2upyun/migrating.rb
Instance Attribute Summary collapse
-
#from ⇒ Object
readonly
Returns the value of attribute from.
-
#migrated_count ⇒ Object
readonly
Returns the value of attribute migrated_count.
-
#record ⇒ Object
readonly
Returns the value of attribute record.
-
#skipped_count ⇒ Object
readonly
Returns the value of attribute skipped_count.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(from, to) ⇒ Migrating
constructor
A new instance of Migrating.
- #perform! ⇒ Object
Constructor Details
Instance Attribute Details
#from ⇒ Object (readonly)
Returns the value of attribute from.
3 4 5 |
# File 'lib/qiniu2upyun/migrating.rb', line 3 def from @from end |
#migrated_count ⇒ Object (readonly)
Returns the value of attribute migrated_count.
3 4 5 |
# File 'lib/qiniu2upyun/migrating.rb', line 3 def migrated_count @migrated_count end |
#record ⇒ Object (readonly)
Returns the value of attribute record.
3 4 5 |
# File 'lib/qiniu2upyun/migrating.rb', line 3 def record @record end |
#skipped_count ⇒ Object (readonly)
Returns the value of attribute skipped_count.
3 4 5 |
# File 'lib/qiniu2upyun/migrating.rb', line 3 def skipped_count @skipped_count end |
#to ⇒ Object (readonly)
Returns the value of attribute to.
3 4 5 |
# File 'lib/qiniu2upyun/migrating.rb', line 3 def to @to end |