Method: SparkApi::Authentication::BaseAuth#authenticated?

Defined in:
lib/spark_api/authentication/base_auth.rb

#authenticated?Boolean

Called prior to running authenticate (except in case of api authentication errors)

Returns:

  • (Boolean)


20
21
22
# File 'lib/spark_api/authentication/base_auth.rb', line 20

def authenticated?
  !(session.nil? || session.expired?)
end