Class: SimpleChat::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/simple_chat/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_modelObject

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_methodObject

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