Module: TurboChat

Defined in:
lib/turbo_chat.rb,
lib/turbo_chat/engine.rb,
lib/turbo_chat/signals.rb,
lib/turbo_chat/version.rb,
lib/turbo_chat/messages.rb,
app/models/turbo_chat/chat.rb,
app/models/turbo_chat/chat_message.rb,
lib/turbo_chat/participant_identity.rb,
app/models/turbo_chat/chat_membership.rb,
app/models/turbo_chat/application_record.rb,
app/helpers/turbo_chat/application_helper.rb,
app/models/turbo_chat/chat_message/signals.rb,
app/controllers/turbo_chat/chats_controller.rb,
app/models/turbo_chat/chat_message/formatting.rb,
app/models/turbo_chat/chat_message/broadcasting.rb,
lib/turbo_chat/model_extensions/chat_participant.rb,
app/controllers/turbo_chat/application_controller.rb,
app/controllers/turbo_chat/chat_messages_controller.rb,
lib/generators/turbo_chat/install/install_generator.rb,
app/models/turbo_chat/chat_message/mention_validation.rb,
app/controllers/turbo_chat/chat_memberships_controller.rb,
app/helpers/turbo_chat/application_helper/config_support.rb,
app/helpers/turbo_chat/application_helper/mention_support.rb,
app/models/turbo_chat/chat_message/body_length_validation.rb,
app/helpers/turbo_chat/application_helper/message_rendering.rb,
app/models/turbo_chat/chat_message/blocked_words_moderation.rb,
app/helpers/turbo_chat/application_helper/participant_support.rb,
app/controllers/turbo_chat/chats_controller/invitation_support.rb,
app/controllers/turbo_chat/chats_controller/event_payload_support.rb,
app/helpers/turbo_chat/application_helper/mention_support/entry_builder.rb,
app/helpers/turbo_chat/application_helper/mention_support/token_builder.rb,
app/helpers/turbo_chat/application_helper/mention_support/permission_support.rb

Defined Under Namespace

Modules: ApplicationHelper, Generators, Messages, ModelExtensions, Moderation, ParticipantIdentity, Signals Classes: ApplicationController, ApplicationRecord, Chat, ChatMembership, ChatMembershipsController, ChatMessage, ChatMessagesController, ChatsController, Configuration, Engine, Permission

Constant Summary collapse

VERSION =
"0.3.0"

Class Method Summary collapse

Class Method Details

.configurationObject



14
15
16
# File 'lib/turbo_chat.rb', line 14

def configuration
  @configuration ||= TurboChat::Configuration.new
end

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

Yields:



18
19
20
# File 'lib/turbo_chat.rb', line 18

def configure
  yield(configuration)
end