Class: Preflight::Rules::NoEncryption

Inherits:
Object
  • Object
show all
Defined in:
lib/preflight/rules/no_encryption.rb

Instance Method Summary collapse

Instance Method Details

#messages(ohash) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/preflight/rules/no_encryption.rb', line 7

def messages(ohash)
  if ohash.trailer[:Encrypt]
    ["File is encrypted"]
  else
    []
  end
end