Class: ActivePinecone::Pinecone
- Inherits:
-
Pinecone::Client
- Object
- Pinecone::Client
- ActivePinecone::Pinecone
- Defined in:
- lib/active_pinecone/pinecone.rb
Instance Method Summary collapse
-
#initialize ⇒ Pinecone
constructor
A new instance of Pinecone.
Constructor Details
#initialize ⇒ Pinecone
Returns a new instance of Pinecone.
3 4 5 6 7 8 9 10 |
# File 'lib/active_pinecone/pinecone.rb', line 3 def initialize ::Pinecone.configure do |config| config.api_key = ActivePinecone.configuration.pinecone_api_key config.environment = ActivePinecone.configuration.pinecone_environment end super end |