lib/gen_ai.rb in gen-ai-0.1.0 vs lib/gen_ai.rb in gen-ai-0.2.0
- old
+ new
@@ -2,10 +2,14 @@
require 'zeitwerk'
require 'pry'
loader = Zeitwerk::Loader.for_gem
-loader.inflector.inflect('gen_ai' => 'GenAI', 'open_ai' => 'OpenAI')
+loader.inflector.inflect(
+ 'gen_ai' => 'GenAI',
+ 'open_ai' => 'OpenAI',
+ 'stability_ai' => 'StabilityAI'
+)
loader.setup
module GenAI
class Error < StandardError; end
class ApiError < Error; end