def to_yaml
      YAML.dump(to_h)
    rescue => err
      raise ParseError.new(err), err
    end
def to_yaml
      YAML.dump(to_h)
    rescue => err
      raise ParseError.new(err), err
    end
Return response as Yaml

 @return [String] A string containing response as YAML