enum TandaCLI::Region

Defined in:

tanda_cli/region.cr

Enum Members

Global = 0
APAC = 1
EU = 2

Instance Method Summary

Instance Method Detail

def apac? #

Returns true if this enum value equals APAC


[View source]
def display_name : String #

[View source]
def eu? #

Returns true if this enum value equals EU


[View source]
def global? #

Returns true if this enum value equals Global


[View source]
def host(staging : Bool = false) : String #

[View source]
def oauth_url(endpoint : Configuration::OAuthEndpoint, staging : Bool = false) : String #

[View source]
def production_host : String #

[View source]
def staging_host : String #

[View source]