CocoaTweet
destroy.h
Go to the documentation of this file.
1 #ifndef COCOATWEET_API_STATUS_DESTROY_H_
2 #define COCOATWEET_API_STATUS_DESTROY_H_
3 
4 #include <memory>
7 
11 public:
13  Destroy();
14 
18  void id(const std::string _id);
19 
23  CocoaTweet::API::Model::Tweet process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
24 };
25 } // namespace CocoaTweet::API::Statuses
26 
27 #endif
CocoaTweet::API::Statuses::Destroy
class for using status/destroy:id endpoint
Definition: destroy.h:10
CocoaTweet::API::Interface::HttpPost
class for Send request with POST method
Definition: httpPost.h:10
CocoaTweet::API::Model::Tweet
data class for tweet object
Definition: tweet.h:10
tweet.h
CocoaTweet::API::Statuses::Destroy::process
CocoaTweet::API::Model::Tweet process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
process request for endpoint
Definition: destroy.cc:11
CocoaTweet::API::Statuses::Destroy::Destroy
Destroy()
primary constructor
Definition: destroy.cc:5
CocoaTweet::API::Statuses::Destroy::id
void id(const std::string _id)
set tweet id to destroy
Definition: destroy.cc:6
httpPost.h
CocoaTweet::API::Statuses
Definition: destroy.cc:4