예제 #1
0
 public RateLimitStatus(JsonValue json)
 {
     var resources = json["resources"];
     HelpConfiguration = new RateLimit(resources["help"]["/help/configuration"]);
     HelpPrivacy = new RateLimit(resources["help"]["/help/privacy"]);
     StatusesOembed = new RateLimit(resources["statuses"]["/statuses/oembed"]);
 }
예제 #2
0
        public RateLimitStatus(JsonValue json)
        {
            var resources = json["resources"];

            HelpConfiguration = new RateLimit(resources["help"]["/help/configuration"]);
            HelpPrivacy       = new RateLimit(resources["help"]["/help/privacy"]);
            StatusesOembed    = new RateLimit(resources["statuses"]["/statuses/oembed"]);
        }