class Sluice::Storage::S3::ManifestScope

Legitimate manifest scopes:

  1. :filename - store only the filename

    in the manifest
  2. :relpath - store the relative path

    to the file in the manifest
  3. :abspath - store the absolute path

    to the file in the manifest
  4. :bucket - store bucket PLUS absolute

    path to the file in the manifest

TODO: add support for 2-4. Currently only 1 supported

Public Class Methods

valid?(val) click to toggle source
# File lib/sluice/storage/s3/manifest.rb, line 40
def self.valid?(val)
  val.is_a?(Symbol) &&
    @@scopes.include?(val)
end