Class: SimpleChat::Configuration
- Inherits:
-
Object
- Object
- SimpleChat::Configuration
- Defined in:
- lib/simple_chat/configuration.rb
Instance Attribute Summary collapse
-
#chat_user_model ⇒ Object
Returns the value of attribute chat_user_model.
-
#current_user_method ⇒ Object
Returns the value of attribute current_user_method.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
11 12 13 14 |
# File 'lib/simple_chat/configuration.rb', line 11 def initialize @chat_user_model = "User" @current_user_method = :current_user end |
Instance Attribute Details
#chat_user_model ⇒ Object
Returns the value of attribute chat_user_model.
9 10 11 |
# File 'lib/simple_chat/configuration.rb', line 9 def chat_user_model @chat_user_model end |
#current_user_method ⇒ Object
Returns the value of attribute current_user_method.
9 10 11 |
# File 'lib/simple_chat/configuration.rb', line 9 def current_user_method @current_user_method end |