ベアラトークンのモデル作成。その他
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#include "bearerToken.h"
|
||||
|
||||
namespace CocoaTweet::API::Model {
|
||||
|
||||
BearerToken::BearerToken() : token_("") {}
|
||||
BearerToken::BearerToken(const std::string _token)
|
||||
: token_(_token) {}
|
||||
const std::string& BearerToken::token() const {
|
||||
return token_;
|
||||
}
|
||||
void BearerToken::token(const std::string& _token) {
|
||||
token_ = _token;
|
||||
}
|
||||
} // namespace CocoaTweet::API::Model
|
||||
Reference in New Issue
Block a user