interfaceをチョットいじった
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <cocoatweet/api/favorite/create.h>
|
||||
|
||||
#include <iostream>
|
||||
namespace CocoaTweet::API::Favorites {
|
||||
Create::Create() {
|
||||
contentType_ = "application/x-www-form-urlencoded";
|
||||
@@ -11,7 +11,7 @@ void Create::id(const std::string& _id) {
|
||||
}
|
||||
|
||||
void Create::process(std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth) {
|
||||
postInterface::process(_oauth,
|
||||
HttpPost::process(_oauth,
|
||||
[](const std::string& _srv) { std::cout << _srv << std::endl; });
|
||||
}
|
||||
} // namespace CocoaTweet::API::Favorites
|
||||
|
||||
Reference in New Issue
Block a user