Class: ODisk::StatFixer

Inherits:
Opee::Collector
  • Object
show all
Defined in:
lib/odisk/statfixer.rb

Overview

Sets the owner, group, permissions, and symlink for files and directories after files have been downloaded and decrypted.

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ StatFixer

Returns a new instance of StatFixer.



7
8
9
# File 'lib/odisk/statfixer.rb', line 7

def initialize(options={})
  super(options)
end

Instance Method Details

#set_options(options) ⇒ Object



11
12
13
14
15
16
17
18
# File 'lib/odisk/statfixer.rb', line 11

def set_options(options)
  super(options)
  @dir_queue = options[:dir_queue]
  @copy_queue = options[:copy_queue]
  @crypt_queue = options[:crypt_queue]
  @inputs = options[:inputs]
  @fixer = options[:fixer]
end