Class: ODisk::SyncJob

Inherits:
Opee::Job
  • Object
show all
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

Instance Method Summary collapse

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

#masterObject (readonly)

Returns the value of attribute master.



15
16
17
# File 'lib/odisk/syncjob.rb', line 15

def master
  @master
end

#opObject (readonly)

Returns the value of attribute op.



16
17
18
# File 'lib/odisk/syncjob.rb', line 16

def op
  @op
end

#pathObject (readonly)

Returns the value of attribute path.



14
15
16
# File 'lib/odisk/syncjob.rb', line 14

def path
  @path
end