geekbot/Geekbot.net/Lib/IClients/DogClient.cs

19 lines
351 B
C#
Raw Normal View History

2017-05-06 20:35:31 +02:00
using RestSharp;
namespace Geekbot.net.Lib.IClients
{
public interface IDogClient
{
IRestClient Client { get; set; }
}
public class DogClient : IDogClient
{
public DogClient()
{
Client = new RestClient("http://random.dog");
}
public IRestClient Client { get; set; }
}
}