/// <summary> /// Creates the Rachio Smart Sprinkler Controller communications service /// </summary> /// <param name="options">Options for the RachioService</param> /// <returns>The RachioService</returns> /// <code> /// var service = RachioService.Create(new ServiceOptions { AccessToken = "{Your Access Token}" }); /// </code> public static RachioService Create(ServiceOptions options) { return(new RachioService(options)); }
public RachioService(ServiceOptions serviceOptions) { _serviceProvider = new RachioServiceProvider(serviceOptions); }