PlaceOS::Client
Inherits Reference < Object
Constants
API_ROOT = "/api/engine/v2"
AUTH_API_ROOT = "/auth"
VERSION = {{ (`shards version \"/tmp/tmp.PfBFHF/src/src/placeos\"`).chomp.stringify.downcase }}
Constructors
new(base_uri : URI | String, email : String | Nil = nil, password : String | Nil = nil, client_id : String | Nil = nil, client_secret : String | Nil = nil, token : OAuth2::AccessToken | Nil = nil, host_header : String | Nil = nil, insecure : Bool = false, x_api_key : String | Nil = nil)
SourceClass methods
from_environment_user
Sourcefrom_environment_user
Sourcetls_context
SourceInstance methods
api_wrapper
Sourceauthenticated?
Sourceauthority
Provide an object for managing Authority. See PlaceOS::Client::APIWrapper::Authority.
close(*args, **options)
Sourceclose(*args, **options, &)
Sourceoauthapplications
Provide an object for managing OAuthApplications. See PlaceOS::Client::APIWrapper::OAuthApplications.
uri
Source