Method: Stockboy::Providers::FTP#file_newer

Defined in:
lib/stockboy/providers/ftp.rb

#file_newerTime, Date

Validates that the file to be processed is recent enough. To guard against processing an old file (even if it’s the latest one), this should be set to the frequency you expect to receive new files for periodic processing. This validation option is applied after a matching file is picked.

Examples:

since Date.today

Returns:

  • (Time, Date)


85
# File 'lib/stockboy/providers/ftp.rb', line 85

dsl_attr :file_name