lib/lockbox.rb in lockbox-1.1.2 vs lib/lockbox.rb in lockbox-1.2.0
- old
+ new
@@ -25,13 +25,14 @@
autoload :Audit, "lockbox/audit"
extend Padding
class << self
- attr_accessor :default_options
+ attr_accessor :default_options, :encode_attributes
attr_writer :master_key
end
self.default_options = {}
+ self.encode_attributes = true
def self.master_key
@master_key ||= ENV["LOCKBOX_MASTER_KEY"]
end