feat(github): add support for github enterprise (#1841)

This commit is contained in:
Jérôme BOULMIER
2019-08-04 20:58:25 +02:00
committed by Patrick Ziegler
parent 12a47fe72e
commit 58d72c4f19
2 changed files with 8 additions and 2 deletions

View File

@ -18,12 +18,13 @@ namespace modules {
bool build(builder* builder, const string& tag) const;
private:
void update_label(const int);
void update_label(int);
int get_number_of_notification();
string request();
static constexpr auto TAG_LABEL = "<label>";
label_t m_label{};
string m_api_url;
string m_accesstoken{};
unique_ptr<http_downloader> m_http{};
bool m_empty_notifications{false};