Class: UnderOs::HTTP::Cookies
Overview
A simple cookie jar thing
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(cookies, url) ⇒ Cookies
constructor
A new instance of Cookies.
- #to_s ⇒ Object
Constructor Details
#initialize(cookies, url) ⇒ Cookies
Returns a new instance of Cookies.
5 6 7 8 |
# File 'lib/under_os/http/cookies.rb', line 5 def initialize(, url) @url = url.is_a?(String) ? NSURL.URLWithString(url) : url @hash = end |