Class: ODisk::SyncJob
- Inherits:
-
Opee::Job
- Object
- Opee::Job
- ODisk::SyncJob
- Defined in:
- lib/odisk/syncjob.rb
Constant Summary
- STATS =
0
- REMOVE =
1
- COPY =
2
- OREFS =
location of master
0
- LOCAL =
encrypted master
1
- REMOTE =
2
Instance Attribute Summary (collapse)
-
- (Object) master
readonly
Returns the value of attribute master.
-
- (Object) op
readonly
Returns the value of attribute op.
-
- (Object) path
readonly
Returns the value of attribute path.
Instance Method Summary (collapse)
-
- (SyncJob) initialize(rel_path, master, op)
constructor
A new instance of SyncJob.
Constructor Details
- (SyncJob) initialize(rel_path, master, op)
Returns a new instance of SyncJob
18 19 20 21 22 |
# File 'lib/odisk/syncjob.rb', line 18 def initialize(rel_path, master, op) @path = rel_path @master = master @op = op end |
Instance Attribute Details
- (Object) master (readonly)
Returns the value of attribute master
15 16 17 |
# File 'lib/odisk/syncjob.rb', line 15 def master @master end |
- (Object) op (readonly)
Returns the value of attribute op
16 17 18 |
# File 'lib/odisk/syncjob.rb', line 16 def op @op end |
- (Object) path (readonly)
Returns the value of attribute path
14 15 16 |
# File 'lib/odisk/syncjob.rb', line 14 def path @path end |