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