Sha256: 6b10920d1269cf8b716291a381c8c12e0c534d47615744858d0a603fb91111d5
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
module Capybara::Poltergeist class Cookie def initialize(attributes) @attributes = attributes end def name @attributes['name'] end def value @attributes['value'] end def domain @attributes['domain'] end def path @attributes['path'] end def secure? @attributes['secure'] end def httponly? @attributes['httponly'] end def samesite @attributes['samesite'] end def expires Time.at @attributes['expiry'] if @attributes['expiry'] end end end
Version data entries
7 entries across 7 versions & 1 rubygems