lib/fernet/verifier.rb in fernet-1.1 vs lib/fernet/verifier.rb in fernet-1.2

- old
+ new

@@ -9,11 +9,11 @@ attr_accessor :ttl, :enforce_ttl def initialize(secret, decrypt) @secret = Secret.new(secret, decrypt) @decrypt = decrypt - @ttl = 60 - @enforce_ttl = true + @ttl = Configuration.ttl + @enforce_ttl = Configuration.enforce_ttl end def verify_token(token) @token = token deconstruct