Class: Ticuna::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/ticuna/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig



10
11
12
13
14
15
# File 'lib/ticuna/config.rb', line 10

def initialize
  @openai_token = ENV.fetch("OPENAI_API_KEY", nil)
  @anthropic_token = ENV.fetch("ANTHROPIC_API_KEY", nil)
  @deepseek_token  = ENV.fetch("DEEPSEEK_API_KEY", nil)
  @mistral_token   = ENV.fetch("MISTRAL_API_KEY", nil)
end

Instance Attribute Details

#anthropic_tokenObject

Returns the value of attribute anthropic_token.



8
9
10
# File 'lib/ticuna/config.rb', line 8

def anthropic_token
  @anthropic_token
end

#deepseek_tokenObject

Returns the value of attribute deepseek_token.



8
9
10
# File 'lib/ticuna/config.rb', line 8

def deepseek_token
  @deepseek_token
end

#mistral_tokenObject

Returns the value of attribute mistral_token.



8
9
10
# File 'lib/ticuna/config.rb', line 8

def mistral_token
  @mistral_token
end

#openai_tokenObject

Returns the value of attribute openai_token.



8
9
10
# File 'lib/ticuna/config.rb', line 8

def openai_token
  @openai_token
end