Module: FeatureBox::Settings

Defined in:
lib/feature_box.rb

Constant Summary collapse

@@per_suggestion_limit =
2
@@total_limit =
8
@@time_limit =
1.month
@@can_vote_own_suggestions =
false
@@max_suggestions_on_page =
5
@@max_comments_on_page =
10
@@max_users_on_page =
15
@@max_categories_on_page =
15
@@max_suggestion_header_chars =
200
@@max_suggestion_description_chars =
1000
@@max_comment_chars =
1000
@@max_category_name_chars =
50
@@devise_parent_model =
"ActiveRecord::Base"
@@devise_router_name =
:feature_box
@@mailer =
"Devise::Mailer"

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



68
69
70
# File 'lib/feature_box.rb', line 68

def self.setup
  yield self
end