XIVAPI::Client
Inherits XIVAPI::Client::Servers < XIVAPI::Client::PvpTeam < XIVAPI::Client::Other < XIVAPI::Client::Linkshell < XIVAPI::Client::FreeCompany < XIVAPI::Client::Character < Reference < Object
When this file is required, include the Servers module to have access to the commands
Constructors
new(api_key : String = "", language : String = "en", staging : Bool = false)
SourceInstance methods
default_params
Return a Hash of the default parameters that should be added in every request. These are currently; api_key, language
language=(language : String)
Set the language of the client by ensuring it's in the array of allowed languages
staging=(staging : Bool)
Set the staging value of the client. This method automatically updates the API url to the appropriate value