CenturyLinkLabs/panamax-api — pull request #233 by alexwelch (2014-10-24 18:04:24+00:00)
Title: wip

For discussion purposes only... @dpetersen and I discussed using a tempfile on the fly to pass to the active resource object. This wasn't possible until we switched to the auth_blob approach where the ssl cert is now stored in the DB.

It wouldn't be quite as simple as this code sample, because we have to keep the file open. @dpetersen suggested using tempdir instead and deleting the file ourselves.