コード例 #1
0
        public virtual BitlyShortenResult ShortenUrl(ShortenUrlOptions options)
        {
            var longUrl = options.Longurl;

            return(WithHammock <BitlyShortenResult>("shorten", FormatAsString, "?longUrl=", longUrl));
        }
コード例 #2
0
        public virtual BitlyShortenResult ShortenUrl(ShortenUrlOptions options)
        {
            var longUrl = options.Longurl;

            return WithHammock<BitlyShortenResult>("shorten", FormatAsString, "?longUrl=", longUrl);
        }