lib/safe_cookies/configuration.rb in safe_cookies-0.2.0 vs lib/safe_cookies/configuration.rb in safe_cookies-0.2.1
- old
+ new
@@ -11,11 +11,13 @@
end
end
class Configuration
- attr_reader :registered_cookies, :fix_cookie_paths, :correct_cookie_paths_timestamp, :ignored_cookies
+ attr_accessor :log_unknown_cookies
+ attr_reader :registered_cookies, :fix_cookie_paths, :correct_cookie_paths_timestamp,
+ :ignored_cookies
def initialize
self.registered_cookies = {}
self.insecure_cookies = []
self.scriptable_cookies = []
@@ -70,10 +72,11 @@
end
private
attr_accessor :insecure_cookies, :scriptable_cookies
- attr_writer :registered_cookies, :fix_cookie_paths, :correct_cookie_paths_timestamp, :ignored_cookies
+ attr_writer :registered_cookies, :fix_cookie_paths, :correct_cookie_paths_timestamp,
+ :ignored_cookies
end
end
\ No newline at end of file