class HqTrivia::Auth
- HqTrivia::Auth
- Reference
- Object
Overview
Manages bearer tokens for various countries
Defined in:
hqtrivia/auth.crInstance Method Summary
-
#headers(country)
Given a country it returns the required headers
-
#token(country : String)
Given a country it returns the bearer token from the ENV