lucidiot/HabitSharp
lucidiot
/
HabitSharp
Archived
1
0
Fork 0

Create Manager

For now, just some special class to make the HabiticaApi class shorter
and move API requests by type to inner classes, so you can write
api.Tags.List() and not api.ListTags()
This commit is contained in:
Lucidiot 2018-09-01 16:11:09 +02:00
parent 317eef562b
commit 128314e5a0
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
1 changed files with 7 additions and 0 deletions

7
Managers/Manager.cs Normal file
View File

@ -0,0 +1,7 @@
namespace HabitSharp.Managers {
public abstract class Manager {
protected readonly HabiticaApi Client;
public Manager(HabiticaApi client) => this.Client = client;
}
}