lib/lockbox/active_storage_extensions.rb in lockbox-0.2.5 vs lib/lockbox/active_storage_extensions.rb in lockbox-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ # ideally encrypt and decrypt would happen at the blob/service level # however, there isn't really a great place to define encryption settings there # instead, we encrypt and decrypt at the attachment level, # and we define encryption settings at the model level -class Lockbox +module Lockbox module ActiveStorageExtensions module Attached protected def encrypted?