mastodonpp  0.0.0
Public Member Functions | List of all members
mastodonpp::Instance Class Reference

Public Member Functions

 Instance (string instance, string access_token)
 Construct a new Instance object. More...
 

Constructor & Destructor Documentation

◆ Instance()

mastodonpp::Instance::Instance ( string  instance,
string  access_token 
)
explicit

Construct a new Instance object.

Holds the hostname and access token of the instance.

Parameters
instanceThe hostname of the instance.
access_tokenYour access token.
Since
0.1.0
27  : _instance{move(instance)}
28  , _access_token{move(access_token)}
29 {}

The documentation for this class was generated from the following files: