Class: Aptible::Api::AiToken
- Defined in:
- lib/aptible/api/ai_token.rb
Instance Method Summary collapse
-
#api_key ⇒ Object
Note: The ‘token’ field from API response is accessible via attributes to avoid conflict with aptible-resource’s internal token handling (used for auth bearer token).
Methods inherited from Resource
Instance Method Details
#api_key ⇒ Object
Note: The ‘token’ field from API response is accessible via attributes to avoid conflict with aptible-resource’s internal token handling (used for auth bearer token)
34 35 36 |
# File 'lib/aptible/api/ai_token.rb', line 34 def api_key attributes['token'] end |