Method: Pinecone::Index#initialize
- Defined in:
- lib/pinecone/index.rb
#initialize ⇒ Index
Returns a new instance of Index.
8 9 10 11 12 13 14 15 |
# File 'lib/pinecone/index.rb', line 8 def initialize self.class.base_uri "https://api.pinecone.io" @headers = { "Content-Type" => "application/json", "Accept" => "application/json", "Api-Key" => Pinecone.configuration.api_key } end |