Class: Core::Models::Chatrooms::Campaign

Inherits:
Base
  • Object
show all
Defined in:
lib/core/models/chatrooms/campaign.rb

Overview

Represents the chatroom embedded in a campaign.

Author:

Instance Attribute Summary collapse

Attributes inherited from Base

#messages

Instance Attribute Details

#campaign ⇒ Core::Models::Campaign

Returns the campaign the chatroom is linked to.

Returns:



9
# File 'lib/core/models/chatrooms/campaign.rb', line 9

embedded_in :campaign, class_name: 'Core::Models::Campaign', inverse_of: :chatroom