Class: Archiver

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/flickrup/archiver.rb

Instance Method Summary collapse

Methods included from Logging

logger, #logger, pre_init

Instance Method Details

#archive(ctx) ⇒ Object



6
7
8
# File 'lib/flickrup/archiver.rb', line 6

def archive(ctx)
  archive_file_by_date(ctx.properties[:filename], ctx.properties[:archive_dir], ctx.properties[:date_taken], ctx.properties[:subdir])
end