Module: SimpleHotFolder

Defined in:
lib/simple_hot_folder.rb,
lib/simple_hot_folder/version.rb,
lib/simple_hot_folder/hot_folder.rb

Defined Under Namespace

Classes: HotFolder

Constant Summary collapse

VERSION =
'0.1.4'.freeze
NAME =
'simple_hot_folder'.freeze

Class Method Summary collapse

Class Method Details

.for_files(input_path, error_path, output_path = nil) ⇒ HotFolder

Create hot folder that listens for files.

Parameters:

  • input_path (String)

    Input folder path

  • error_path (String)

    Error folder path

  • output_path (String) (defaults to: nil)

    Error folder path

Returns:



22
23
24
# File 'lib/simple_hot_folder.rb', line 22

def self.for_files(input_path, error_path, output_path = nil)
  HotFolder.new(input_path, error_path, output_path)
end