Sha256: 59d8de24211ee022bd6a7e72ab45890502c45168d74456a71950c9696176ed92
Contents?: true
Size: 550 Bytes
Versions: 20
Compression:
Stored size: 550 Bytes
Contents
module Capybara::Poltergeist::NetworkTraffic class Response def initialize(data) @data = data end def url @data['url'] end def status @data['status'] end def status_text @data['statusText'] end def headers @data['headers'] end def redirect_url @data['redirectURL'] end def body_size @data['bodySize'] end def content_type @data['contentType'] end def time @data['time'] && Time.parse(@data['time']) end end end
Version data entries
20 entries across 20 versions & 4 rubygems