Class: Senior::Configuration::Main

Inherits:
Object
  • Object
show all
Defined in:
lib/senior/configuration/main.rb

Overview

Index file for all configurations of the gem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMain

Initializes a new instance of the configuration for the Senior gem

Examples:

configuration = Senior::Configuration::Main.new


32
33
34
# File 'lib/senior/configuration/main.rb', line 32

def initialize
  @open_ai = Configuration::OpenAI.new
end

Instance Attribute Details

#open_aiConfiguration::OpenAI

The OpenAI configuration

Examples:

configuration = Senior::Configuration::Main.new
configuration.open_ai # => #<Configuration::OpenAI:0x00007fa2a61a63d8>

Returns:



23
24
25
# File 'lib/senior/configuration/main.rb', line 23

def open_ai
  @open_ai
end