Class: SpreeMenuChat::Credential
- Inherits:
-
Object
- Object
- SpreeMenuChat::Credential
- Defined in:
- app/models/spree_menu_chat/credential.rb
Overview
A Gemini API key + Voyage AI API key for one Spree::Store. Both are plain static API keys (no OAuth, no refresh flow) — same shape as SpreeDoordash::Credential, not Square's OAuth connection. Entered directly by an admin via the plain show/update form (see Spree::Admin::MenuChatCredentialsController), encrypted at rest.