Module: SimplestAuth::SessionsController::ClassMethods

Defined in:
lib/simplest_auth/sessions_controller.rb

Instance Method Summary collapse

Instance Method Details

#session_class_nameObject



11
12
13
# File 'lib/simplest_auth/sessions_controller.rb', line 11

def session_class_name
  @session_class_name || 'Session'
end

#set_session_class_name(session_class_name) ⇒ Object



7
8
9
# File 'lib/simplest_auth/sessions_controller.rb', line 7

def set_session_class_name(session_class_name)
  @session_class_name = session_class_name
end