Class: ActiveScaffold::Config::Base::UserSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/active_scaffold/config/base.rb

Instance Method Summary collapse

Constructor Details

#initialize(conf, storage, params) ⇒ UserSettings

Returns a new instance of UserSettings.



35
36
37
38
39
40
41
42
# File 'lib/active_scaffold/config/base.rb', line 35

def initialize(conf, storage, params)
  # the session hash relevant to this action
  @session = storage
  # all the request params
  @params = params
  # the configuration object for this action
  @conf = conf
end