Class: RubyBots::Configuration
- Inherits:
-
Object
- Object
- RubyBots::Configuration
- Defined in:
- lib/ruby_bots.rb
Overview
Configuration class
Instance Attribute Summary collapse
-
#openai_api_key ⇒ Object
Returns the value of attribute openai_api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
17 18 19 20 |
# File 'lib/ruby_bots.rb', line 17 def initialize @openai_api_key = ENV['OPENAI_ACCESS_TOKEN'] @wolfram_app_id = ENV['WOLFRAM_APPID'] end |
Instance Attribute Details
#openai_api_key ⇒ Object
Returns the value of attribute openai_api_key.
15 16 17 |
# File 'lib/ruby_bots.rb', line 15 def openai_api_key @openai_api_key end |