Sha256: 704ea2aefd02eb6139336e158553b466b5706e5b8f86f0437d62cc9dc3a6596c

Contents?: true

Size: 293 Bytes

Versions: 4

Compression:

Stored size: 293 Bytes

Contents

class Marty::DropFolderHook
  def initialize(login)
    @login = login
  end

  def run(res)
    p 'H.'*10, res
    drop_path = "/tmp/#{@login}"

    begin
      Dir.mkdir(drop_path) unless File.directory?(drop_path)
    rescue => exc
      Marty::Util.logger.error "Can't create 


  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
marty-0.5.15 lib/marty/drop_folder_hook.rb~
marty-0.5.14 lib/marty/drop_folder_hook.rb~
marty-0.5.13 lib/marty/drop_folder_hook.rb~
marty-0.5.12 lib/marty/drop_folder_hook.rb~