lib/openai_assistant/mappers/assistant.rb in openai-assistant-1.0.0 vs lib/openai_assistant/mappers/assistant.rb in openai-assistant-1.1.0

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true -module OpenaiAsissistant +module OpenaiAssistant # A mapper of assistant module Mapper # A object model struct of assistant class Assistant # @return [String] The identifier, which can be referenced in API endpoints. @@ -31,10 +31,10 @@ instance_variable_set("@#{k}", v) unless v.nil? end end def self.from_json(data) - OpenaiAsissistant::Mapper::Assistant.new( + OpenaiAssistant::Mapper::Assistant.new( id: data["id"], object: data["object"], created_at: data["created_at"], name: data["name"], description: data["description"],