Sha256: 2ddb6784d558e8bc4dcd7e962d18c52903403feb0c0dbf5d013e16405a047755

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

module Imap::Backup
  module Serializer
    DIRECTORY_PERMISSIONS = 0o700
    FILE_PERMISSIONS      = 0o600

    class Base
      attr_reader :path
      attr_reader :folder

      def initialize(path, folder)
        @path, @folder = path, folder
        Utils.check_permissions(@path, DIRECTORY_PERMISSIONS)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
imap-backup-1.4.2 lib/imap/backup/serializer/base.rb
imap-backup-1.4.1 lib/imap/backup/serializer/base.rb
imap-backup-1.4.0 lib/imap/backup/serializer/base.rb