diff --git a/src/cocoatweet/api/status/destroy.cc b/src/cocoatweet/api/status/destroy.cc new file mode 100644 index 0000000..51b3c67 --- /dev/null +++ b/src/cocoatweet/api/status/destroy.cc @@ -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 diff --git a/src/cocoatweet/api/status/destroy.h b/src/cocoatweet/api/status/destroy.h new file mode 100644 index 0000000..ac410a1 --- /dev/null +++ b/src/cocoatweet/api/status/destroy.h @@ -0,0 +1,17 @@ +#ifndef COCOATWEET_API_STATUSES_DESTROY_H_ +#define COCOATWEET_API_STATUSES_DESTROY_H_ + +#include + +#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