Module: Plain

Defined in:
lib/plain.rb,
lib/plain/engine.rb,
lib/plain/version.rb,
lib/plain/configuration.rb,
app/models/plain/message.rb,
app/services/plain/ai_docs.rb,
app/helpers/plain/docs_helper.rb,
app/helpers/plain/home_helper.rb,
app/models/plain/conversation.rb,
app/jobs/plain/application_job.rb,
app/helpers/plain/messages_helper.rb,
app/helpers/plain/documents_helper.rb,
app/models/plain/application_record.rb,
app/helpers/plain/application_helper.rb,
app/jobs/plain/message_processor_job.rb,
app/mailers/plain/application_mailer.rb,
app/controllers/plain/docs_controller.rb,
app/controllers/plain/home_controller.rb,
app/helpers/plain/conversations_helper.rb,
app/controllers/plain/messages_controller.rb,
app/controllers/plain/documents_controller.rb,
app/controllers/plain/application_controller.rb,
app/controllers/plain/conversations_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, ConversationsHelper, DocsHelper, DocumentsHelper, HomeHelper, MessagesHelper Classes: AiDocs, ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Conversation, ConversationsController, DocsController, DocsService, Document, DocumentsController, Engine, HomeController, Message, MessageProcessorJob, MessagesController

Constant Summary collapse

VERSION =
"0.2.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



9
10
11
# File 'lib/plain.rb', line 9

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



13
14
15
# File 'lib/plain.rb', line 13

def configure
  yield(configuration)
end