各種Exceptionの用意(#53)

Tweetオブジェクトを仮実装(#54)
Tweetオブジェクトのパースに当たり、httpPostのステータスコードを取得(#54)
各種オブジェクトにパースするためにhttpPostに渡すコールバックの引数を変更
This commit is contained in:
keita
2021-02-24 14:19:14 +09:00
parent b4497728b1
commit 1505b0b139
12 changed files with 35 additions and 26 deletions
+3 -2
View File
@@ -3,14 +3,15 @@
#include "cocoatweet/api/interface/groupInterface.h"
#include "cocoatweet/oauth/oauth.h"
#include <cocoatweet/api/model/tweet.h>
namespace CocoaTweet::API::Statuses {
class Status : public groupInterface {
public:
Status() = default;
Status(std::shared_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
void Update(const std::string& _status) const;
void Destroy(const std::string& _id) const;
CocoaTweet::API::Model::Tweet Update(const std::string& _status) const;
CocoaTweet::API::Model::Tweet Destroy(const std::string& _id) const;
private:
};