Class: Eyeloupe::Configuration
- Inherits:
-
Object
- Object
- Eyeloupe::Configuration
- Includes:
- Singleton
- Defined in:
- lib/eyeloupe/configuration.rb
Instance Attribute Summary collapse
- #capture ⇒ Boolean
- #database ⇒ Symbol|Nil
- #excluded_paths ⇒ Array<String>
- #openai_access_key ⇒ String
- #openai_model ⇒ String
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
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
#capture ⇒ Boolean
15 16 17 |
# File 'lib/eyeloupe/configuration.rb', line 15 def capture @capture end |
#database ⇒ Symbol|Nil
9 10 11 |
# File 'lib/eyeloupe/configuration.rb', line 9 def database @database end |
#excluded_paths ⇒ Array<String>
12 13 14 |
# File 'lib/eyeloupe/configuration.rb', line 12 def excluded_paths @excluded_paths end |
#openai_access_key ⇒ String
18 19 20 |
# File 'lib/eyeloupe/configuration.rb', line 18 def openai_access_key @openai_access_key end |
#openai_model ⇒ String
21 22 23 |
# File 'lib/eyeloupe/configuration.rb', line 21 def openai_model @openai_model end |