Class: PolyglotIos::IO::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/ios_polyglot_cli/io/token.rb

Constant Summary collapse

@@in_memory_token =
nil

Class Method Summary collapse

Class Method Details

.read(token_env_variable) ⇒ Object



9
10
11
# File 'lib/ios_polyglot_cli/io/token.rb', line 9

def read(token_env_variable)
  @@in_memory_token ||= ENV[token_env_variable]
end