Class: Eyeloupe::Configuration

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/eyeloupe/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



23
24
25
26
27
# File 'lib/eyeloupe/configuration.rb', line 23

def initialize
  @excluded_paths = %w[]
  @capture = true
  @openai_model = "gpt-3.5-turbo"
end

Instance Attribute Details

#captureBoolean



15
16
17
# File 'lib/eyeloupe/configuration.rb', line 15

def capture
  @capture
end

#databaseSymbol|Nil



9
10
11
# File 'lib/eyeloupe/configuration.rb', line 9

def database
  @database
end

#excluded_pathsArray<String>



12
13
14
# File 'lib/eyeloupe/configuration.rb', line 12

def excluded_paths
  @excluded_paths
end

#openai_access_keyString



18
19
20
# File 'lib/eyeloupe/configuration.rb', line 18

def openai_access_key
  @openai_access_key
end

#openai_modelString



21
22
23
# File 'lib/eyeloupe/configuration.rb', line 21

def openai_model
  @openai_model
end