Skip to content

Commit

Permalink
Rename base connector
Browse files Browse the repository at this point in the history
  • Loading branch information
richardrandak committed Oct 1, 2020
1 parent c263718 commit abf1fbc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace FortnoxAPILibrary
{
/// <remarks/>
public class UrlRequestBase : BaseClient
public class BaseConnector : BaseClient
{
protected BaseClient HttpClient { get; set; }
protected ErrorHandler ErrorHandler { get; set; }
Expand Down Expand Up @@ -44,7 +44,7 @@ public class UrlRequestBase : BaseClient
public RequestInfo RequestInfo { get; protected set; }

/// <remarks />
public UrlRequestBase()
public BaseConnector()
{
HttpClient = this;
Serializer = new AdaptableSerializer();
Expand Down
2 changes: 1 addition & 1 deletion FortnoxAPILibrary/Connectors/AuthorizationConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace FortnoxAPILibrary.Connectors
{
/// <remarks/>
public class AuthorizationConnector : UrlRequestBase, IAuthorizationConnector
public class AuthorizationConnector : BaseConnector, IAuthorizationConnector
{
/// <summary>
/// <para>Use this function to create and get your Access-Token.</para>
Expand Down
2 changes: 1 addition & 1 deletion FortnoxAPILibrary/Connectors/SIEConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace FortnoxAPILibrary.Connectors
{
public class SIEConnector : UrlRequestBase, ISIEConnector
public class SIEConnector : BaseConnector, ISIEConnector
{
public SIEConnector()
{
Expand Down
2 changes: 1 addition & 1 deletion FortnoxAPILibrary/EntityConnector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
namespace FortnoxAPILibrary
{
/// <remarks/>
public abstract class EntityConnector<TEntity, TEntityCollection, TSort> : UrlRequestBase where TEntity : class
public abstract class EntityConnector<TEntity, TEntityCollection, TSort> : BaseConnector where TEntity : class
{
/// <summary>
/// Sort Order, ascending or descending
Expand Down

0 comments on commit abf1fbc

Please sign in to comment.