/// <summary> /// Initializes a new instance of the <see cref="RestfulObject<T>"/> class. /// </summary> /// <param name="domainObject">The item instance.</param> /// <param name="httpVerb">The HTTP verb.</param> /// <param name="uriEndpoint">The URI endpoint.</param> public RestfulObject(T domainObject, string httpVerb, string uriEndpoint) : this(domainObject, httpVerb, uriEndpoint, CachePeriod.Default()) { }
/// <summary> /// Sets the cache period to the default value. /// </summary> /// <returns>The current UTC time plus one month.</returns> public static DateTime Default() { return(CachePeriod.OneMonth()); }