This is a small library to use the URL shortener qr.cx.
Licensed under the MIT License.
Example usage:
-
>> require ‘qr.cx’ >> QRCX.shorten(“example.com”)
> “qr.cx/1r8”
>> QRCX.makelong(“qr.cx/1r8”)
> “example.com”
May throw the following errors
-
QRCX::Error QRCX::Timeout < QRCX::Error QRCX::InvalidOrUnsupportedURL < QRCX::Error QRCX::RedirectURLUnsupported < QRCX::InvalidOrUnsupportedURL