statuses/destroyを叩くやつ
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include "cocoatweet/api/status/destroy.h"
|
||||
|
||||
namespace CocoaTweet::API::Statuses {
|
||||
Destroy::Destroy() {
|
||||
}
|
||||
void Destroy::id(const std::string _id) {
|
||||
url_ = "https://api.twitter.com/1.1/statuses/destroy/" + _id + ".json";
|
||||
}
|
||||
|
||||
} // namespace CocoaTweet::API::Statuses
|
||||
@@ -0,0 +1,17 @@
|
||||
#ifndef COCOATWEET_API_STATUSES_DESTROY_H_
|
||||
#define COCOATWEET_API_STATUSES_DESTROY_H_
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "cocoatweet/api/interface/postInterface.h"
|
||||
//#include "cocoatweet/oauth/oauth.h"
|
||||
|
||||
namespace CocoaTweet::API::Statuses {
|
||||
class Destroy : public CocoaTweet::API::Interface::postInterface {
|
||||
public:
|
||||
Destroy();
|
||||
void id(const std::string _id);
|
||||
};
|
||||
} // namespace CocoaTweet::API::Statuses
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user