Method: Camdram::Client#api_token?

Defined in:
lib/camdram/client.rb

#api_token?Boolean

Returns true if the API access token is set

Returns:

  • (Boolean)

    Whether the API token is set or not.



32
33
34
# File 'lib/camdram/client.rb', line 32

def api_token?
  HTTP.instance.api_token?
end