TransferMore
Constants
BASE_STORAGE = ENV["TRANSFER_BASE_STORAGE"]? || "/tmp"
HOST_PORT = ENV["TRANSFER_HOST_PORT"]? || "localhost:3000"
SECURE_SIZE = Int32.new(ENV["TRANSFER_SECURE_SIZE"]? || 4)
SSL_ENABLED = ENV["TRANSFER_SSL_ENABLED"]?.to_s.downcase == "true"
STORAGE_DAYS = Int32.new(ENV["TRANSFER_STORAGE_DAYS"]? || 7)
TIME_FORMAT = ENV["TRANSFER_TIME_FORMAT"]? || "%y%m%d%H"
VERSION = "0.6.0"
Class methods
base_url(env)
Sourcepurge(duration, verbose = true)
Sourcepurge_dir(dir, verbose = true)
Sourcestorage(f)
Source