We have a pdf content received from the response. We want to create a PDFDoc instance out of it without writing it to a temp file. Is there a way to do this in Ruby using PDFNet SDK.
You can find sample Ruby code for instantiating a PDFDoc from a memory buffer at https://github.com/PDFTron/PDFNetWrappers/blob/master/Samples/PDFDocMemoryTest/RUBY/PDFDocMemoryTest.rb.
There is a PDFDoc constructor that takes a memory buffer as input: