#include namespace CocoaTweet::API::Statuses { Unretweet::Unretweet() {} void Unretweet::id(const std::string& _id) { contentType_ = "application/x-www-form-urlencoded"; url_ = "https://api.twitter.com/1.1/statuses/unretweet/" + _id + ".json"; } CocoaTweet::API::Model::Tweet Unretweet::process( std::weak_ptr _oauth) { CocoaTweet::API::Model::Tweet tweet; HttpPost::process(_oauth, [&tweet](const std::string& _rcv) { tweet = CocoaTweet::API::Model::Tweet(_rcv); }); return tweet; } } // namespace CocoaTweet::API::Statuses