Class: RubyBots::Configuration

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

Overview

Configuration class

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

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