class VCR::Request
def self.from_hash(hash)
-
(Request)
- the request
Parameters:
-
hash
(Hash
) -- the hash to use to construct the instance.
def self.from_hash(hash) method = hash['method'] method &&= method.to_sym new method, hash['uri'], body_from(hash['body']), hash['headers'], :skip_port_stripping end