Module: TpCommon::FileStorage::KeyProtector

Included in:
Base
Defined in:
lib/tp_common/file_storage/key_protector.rb

Overview

Provide mechanism to protect keys conflict using prefix This module supports using 1 bucket for multiple environment, just have different prefix key Although it's recommended in real usage, using in development env is recommended.

To avoid issue local uploading works but trouble when work with S3