global

def marshal_dump

Returns:
  • (Hash) - the hash ready to be serialized in Marshal.
def marshal_dump
  {
    http_method: http_method,
    body: body,
    headers: headers,
    path: path,
    params: params,
    options: options
  }
end