Class: Rack::BlacklistCookies::ResponseScrubber

Inherits:
BaseScrubber
  • Object
show all
Defined in:
lib/rack/blacklist_cookies/scrubber.rb

Overview

ResponseScrubber is responsible for parsing and configuring the response according to RFC-6252 tools.ietf.org/html/rfc6265#section-4.1 developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie

Instance Attribute Summary

Attributes inherited from BaseScrubber

#env

Instance Method Summary collapse

Methods inherited from BaseScrubber

#initialize, #to_s

Constructor Details

This class inherits a constructor from Rack::BlacklistCookies::BaseScrubber

Instance Method Details

#blacklistObject



59
60
61
# File 'lib/rack/blacklist_cookies/scrubber.rb', line 59

def blacklist
  BlacklistCookies.response_blacklist(env)
end

#joinerObject



67
68
69
# File 'lib/rack/blacklist_cookies/scrubber.rb', line 67

def joiner
  "\n"
end

#splitterObject



63
64
65
# File 'lib/rack/blacklist_cookies/scrubber.rb', line 63

def splitter
  "\n"
end