Method: CodePicnic.token
- Defined in:
- lib/codepicnic.rb
.token ⇒ Object
14 15 16 17 18 |
# File 'lib/codepicnic.rb', line 14 def token @token_client ||= get_token refresh_token if @token_client.expired? @token_client.access_token end |