diff --git a/FortnoxAPILibrary/UrlRequestBase.cs b/FortnoxAPILibrary/BaseConnector.cs similarity index 98% rename from FortnoxAPILibrary/UrlRequestBase.cs rename to FortnoxAPILibrary/BaseConnector.cs index 2d662e81..a35a1d79 100644 --- a/FortnoxAPILibrary/UrlRequestBase.cs +++ b/FortnoxAPILibrary/BaseConnector.cs @@ -8,7 +8,7 @@ namespace FortnoxAPILibrary { /// - public class UrlRequestBase : BaseClient + public class BaseConnector : BaseClient { protected BaseClient HttpClient { get; set; } protected ErrorHandler ErrorHandler { get; set; } @@ -44,7 +44,7 @@ public class UrlRequestBase : BaseClient public RequestInfo RequestInfo { get; protected set; } /// - public UrlRequestBase() + public BaseConnector() { HttpClient = this; Serializer = new AdaptableSerializer(); diff --git a/FortnoxAPILibrary/Connectors/AuthorizationConnector.cs b/FortnoxAPILibrary/Connectors/AuthorizationConnector.cs index e29ad1d4..711e50ce 100644 --- a/FortnoxAPILibrary/Connectors/AuthorizationConnector.cs +++ b/FortnoxAPILibrary/Connectors/AuthorizationConnector.cs @@ -8,7 +8,7 @@ namespace FortnoxAPILibrary.Connectors { /// - public class AuthorizationConnector : UrlRequestBase, IAuthorizationConnector + public class AuthorizationConnector : BaseConnector, IAuthorizationConnector { /// /// Use this function to create and get your Access-Token. diff --git a/FortnoxAPILibrary/Connectors/SIEConnector.cs b/FortnoxAPILibrary/Connectors/SIEConnector.cs index 7822ccbe..c25c27a5 100644 --- a/FortnoxAPILibrary/Connectors/SIEConnector.cs +++ b/FortnoxAPILibrary/Connectors/SIEConnector.cs @@ -2,7 +2,7 @@ namespace FortnoxAPILibrary.Connectors { - public class SIEConnector : UrlRequestBase, ISIEConnector + public class SIEConnector : BaseConnector, ISIEConnector { public SIEConnector() { diff --git a/FortnoxAPILibrary/EntityConnector.cs b/FortnoxAPILibrary/EntityConnector.cs index 2a6911bd..a00d3fa6 100644 --- a/FortnoxAPILibrary/EntityConnector.cs +++ b/FortnoxAPILibrary/EntityConnector.cs @@ -8,7 +8,7 @@ namespace FortnoxAPILibrary { /// - public abstract class EntityConnector : UrlRequestBase where TEntity : class + public abstract class EntityConnector : BaseConnector where TEntity : class { /// /// Sort Order, ascending or descending