Sha256: 0d2e6c4fbf8977f459e2ddda538538dd67db009f843d91aa9c28179551d2a4a6

Contents?: true

Size: 355 Bytes

Versions: 6

Compression:

Stored size: 355 Bytes

Contents

# encoding: utf-8

module Imap::Backup
  module Serializer
    DIRECTORY_PERMISSIONS = 0700
    FILE_PERMISSIONS      = 0600

    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

6 entries across 6 versions & 1 rubygems

Version Path
imap-backup-1.2.2 lib/imap/backup/serializer/base.rb
imap-backup-1.2.1 lib/imap/backup/serializer/base.rb
imap-backup-1.2.0 lib/imap/backup/serializer/base.rb
imap-backup-1.1.0 lib/imap/backup/serializer/base.rb
imap-backup-1.0.17 lib/imap/backup/serializer/base.rb
imap-backup-1.0.16 lib/imap/backup/serializer/base.rb