mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 14:01:48 +00:00
12 lines
271 B
Ruby
12 lines
271 B
Ruby
|
module ActionDispatch
|
||
|
class Cookies
|
||
|
class SignedCookieJar
|
||
|
def initialize(parent_jar, secret)
|
||
|
ensure_secret_secure(secret)
|
||
|
@parent_jar = parent_jar
|
||
|
@verifier = MessageVerifier.new(secret,:serializer=>YAML)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|