def get_code(url, code = nil, options = nil)
      code ||= if options && options.with_charset?
        shorten_fixed_charset(url, options.length, options.charset)
      else
        shorten(url)
      end
    end
def get_code(url, code = nil, options = nil)
      code ||= if options && options.with_charset?
        shorten_fixed_charset(url, options.length, options.charset)
      else
        shorten(url)
      end
    end
Internal: Shortens a URL with the given options.

 url     - A String URL.
 code    - Optional String code.
 options - Optional Guillotine::Service::Options to specify how the code
           is generated.

 returns a String code.