I can decode the string and write it to a zip file, but i cannot unzip it. I'm using the rubyzip library, and it does not pick up on any entries in the zipfile to iterate over.
However when I unzip it in the terminal, I get my unzipped file perfectly.
Hello @hakanensari , I know this is unrelated to the gem, but I have been stuck on this for hours. Any insight is extremely appreciated.
I am using the
get_bill_of_lading
operation which returnsPdfDocumentData
(an encoded string which must be decoded, and unzipped)Link to instructions from Amazon Docs
I can decode the string and write it to a zip file, but i cannot unzip it. I'm using the rubyzip library, and it does not pick up on any entries in the zipfile to iterate over.
However when I unzip it in the terminal, I get my unzipped file perfectly.
How can I successfully unzip it using ruby?