module Ohanakapa::Authentication
Authentication
methods for {Ohanakapa::Client}
Public Instance Methods
application_authenticated?()
click to toggle source
Indicates if the client has Application api_token credentials to make anonymous requests at a higher rate limit
@see ohanapi.herokuapp.com/api/docs @return [Boolean]
# File lib/ohanakapa/authentication.rb, line 12 def application_authenticated? !!application_authentication end
Private Instance Methods
application_authentication()
click to toggle source
# File lib/ohanakapa/authentication.rb, line 18 def application_authentication if @api_token { :api_token => @api_token } end end