geekbot/Geekbot.net/Lib/CatClient.cs

19 lines
346 B
C#
Raw Normal View History

2017-04-13 23:20:05 +02:00
using RestSharp;
2017-04-13 13:22:30 +02:00
namespace Geekbot.net.Modules
{
public interface ICatClient
{
IRestClient Client { get; set; }
}
public class CatClient : ICatClient
{
public CatClient()
{
Client = new RestClient("http://random.cat");
}
public IRestClient Client { get; set; }
}
}