Method: Fugle::Config#api_token

Defined in:
lib/fugle/config.rb

#api_tokenString

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

The API Token

Returns:

  • (String)

    the api token

Since:

  • 0.1.0



29
30
31
# File 'lib/fugle/config.rb', line 29

def api_token
  @api_token || ENV['FUGLE_API_TOKEN']
end