Class: HTTParty::CookieHash
- Inherits:
-
Hash
- Object
- Hash
- HTTParty::CookieHash
- Defined in:
- lib/httparty/cookie_hash.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#add_cookies(hash) ⇒ Object
2 3 4 |
# File 'lib/httparty/cookie_hash.rb', line 2 def (hash) merge!(hash) end |
#to_cookie_string ⇒ Object
6 7 8 |
# File 'lib/httparty/cookie_hash.rb', line 6 def collect { |k, v| "#{k}=#{v}" }.join("; ") end |