Module: Ohanakapa::Authentication

Included in:
Client
Defined in:
lib/ohanakapa/authentication.rb

Overview

Authentication methods for Client

Instance Method Summary collapse

Instance Method Details

#application_authenticated?Boolean

Indicates if the client has Application api_token credentials to make anonymous requests at a higher rate limit

Returns:

  • (Boolean)

See Also:



12
13
14
# File 'lib/ohanakapa/authentication.rb', line 12

def application_authenticated?
  !!application_authentication
end