Module: GoogleAPI::Base::Authorization
- Included in:
- GoogleAPI::Base
- Defined in:
- lib/google_api/base/authorization.rb
Instance Method Summary collapse
Instance Method Details
#authorize!(refresh: false, reveal: false) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/google_api/base/authorization.rb', line 17 def (refresh: false, reveal: false) token_file auth = (refresh: refresh) service. = auth return true unless reveal [auth, auth_keys(auth)] end |