Beispiel #1
0
 /// <summary>
 /// Initializes a new instance based on the specified <paramref name="response"/>.
 /// </summary>
 /// <param name="response">The instance of <see cref="SocialHttpResponse"/> representing the raw response.</param>
 protected VimeoResponse(SocialHttpResponse response) : base(response)
 {
     RateLimiting = VimeoRateLimiting.GetFromResponse(response);
 }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance based on the specified <paramref name="response"/>.
        /// </summary>
        /// <param name="response">The instance of <see cref="IHttpResponse"/> representing the raw response.</param>
        protected VimeoResponse(IHttpResponse response) : base(response)
        {
            RateLimiting = VimeoRateLimiting.GetFromResponse(response);

            ValidateResponse(response);
        }