extracted interface fom HttpProvider

This commit is contained in:
Keivan Beigi 2013-04-10 16:41:45 -07:00
commit 1465fbf499
28 changed files with 124 additions and 121 deletions

View file

@ -12,13 +12,13 @@ namespace NzbDrone.Core.Providers
{
public class XemCommunicationProvider
{
private readonly HttpProvider _httpProvider;
private readonly IHttpProvider _httpProvider;
private static readonly Logger _logger = LogManager.GetCurrentClassLogger();
private const string XEM_BASE_URL = "http://thexem.de/map/";
public XemCommunicationProvider(HttpProvider httpProvider)
public XemCommunicationProvider(IHttpProvider httpProvider)
{
_httpProvider = httpProvider;
}