X::Client
Inherits Reference / Object
Main public interface
Constructors
new(bearer_token : String | Nil = nil, api_key : String | Nil = nil, api_key_secret : String | Nil = nil, access_token : String | Nil = nil, access_token_secret : String | Nil = nil, base_uri : URI = Connection::DEFAULT_BASE_URL, connect_timeout : Time::Span | Int32 | Float64 = Connection::DEFAULT_CONNECT_TIMEOUT, read_timeout : Time::Span | Int32 | Float64 = Connection::DEFAULT_READ_TIMEOUT, write_timeout : Time::Span | Int32 | Float64 = Connection::DEFAULT_WRITE_TIMEOUT, content_type : String = RequestBuilder::DEFAULT_CONTENT_TYPE, user_agent : String = RequestBuilder::DEFAULT_USER_AGENT, max_redirects : Int32 = RedirectHandler::DEFAULT_MAX_REDIRECTS)
SourceInstance methods
authenticator
Sourceauthenticator?
Sourcebase_uri(*args, **options)
Sourcebase_uri(*args, **options, &)
Sourcebase_uri=(arg)
Sourceconnect_timeout(*args, **options)
Sourceconnect_timeout(*args, **options, &)
Sourceconnect_timeout=(arg)
Sourceconnection
Sourcecontent_type(*args, **options)
Sourcecontent_type(*args, **options, &)
Sourcecontent_type=(arg)
Sourcedelete(endpoint : String)
Sourceget(endpoint : String)
Sourcemax_redirects(*args, **options)
Sourcemax_redirects(*args, **options, &)
Sourcemax_redirects=(arg)
Sourcepost(endpoint : String, body : String | Nil = nil)
Sourceput(endpoint : String, body : String | Nil = nil)
Sourceread_timeout(*args, **options)
Sourceread_timeout(*args, **options, &)
Sourceread_timeout=(arg)
Sourceredirect_handler
Sourcerequest_builder
Sourceresponse_handler
Sourceuser_agent(*args, **options)
Sourceuser_agent(*args, **options, &)
Sourceuser_agent=(arg)
Sourcewrite_timeout(*args, **options)
Sourcewrite_timeout(*args, **options, &)
Sourcewrite_timeout=(arg)
Source