Module: AutomationHelpers::Patches::HTTPCookiePatch Private
- Defined in:
- lib/automation_helpers/patches/http_cookie.rb
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
-
#expires=(datetime) ⇒ Object
private
Permit DateTime objects to be cast in HTTP::Cookie.
Instance Method Details
#expires=(datetime) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Permit DateTime objects to be cast in HTTP::Cookie
30 31 32 33 |
# File 'lib/automation_helpers/patches/http_cookie.rb', line 30 def expires=(datetime) datetime = datetime.to_time if datetime.is_a?(DateTime) super end |