- Defined in:
This module isn't included by default.
Instance Method Summary collapse
#cookies ⇒ Hanami::Action::CookieJar
Gets the cookies from the request and expose them as an Hash.
Instance Method Details
#cookies ⇒ (protected)
Gets the cookies from the request and expose them as an Hash
It automatically sets options from global configuration, but it allows to override values case by case.
For a list of options please have a look at
67 68 69
# File 'lib/hanami/action/cookies.rb', line 67 def @cookies ||= .(@_env.dup, headers, configuration.) end