class VCR::Request

def to_hash

Other tags:
    See: Request.from_hash -

Returns:
  • (Hash) - hash that represents this request and can be easily
def to_hash
  {
    'method'  => method.to_s,
    'uri'     => uri,
    'body'    => serializable_body,
    'headers' => headers
  }
end