Class: RedisDictionary::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



17
18
19
# File 'lib/redis_dictionary/configuration.rb', line 17

def initialize
  @inline_main_app_named_routes = false
end

Instance Attribute Details

#authentication_methodObject

The name of the before filter we’ll call to authenticate the current user. Defaults to :login_required



6
7
8
# File 'lib/redis_dictionary/configuration.rb', line 6

def authentication_method
  @authentication_method
end

#inline_main_app_named_routesObject

Should the routes of the main app be accessible without the “main_app.” prefix ?



10
11
12
# File 'lib/redis_dictionary/configuration.rb', line 10

def inline_main_app_named_routes
  @inline_main_app_named_routes
end

#layoutObject

Defaults to nil



13
14
15
# File 'lib/redis_dictionary/configuration.rb', line 13

def layout
  @layout
end

Returns the value of attribute menu_items.



15
16
17
# File 'lib/redis_dictionary/configuration.rb', line 15

def menu_items
  @menu_items
end