Module: Sooner
- Defined in:
- lib/sooner.rb,
lib/sooner/engine.rb,
lib/sooner/version.rb,
app/models/sooner/subscriber.rb,
app/helpers/sooner/application_helper.rb,
app/helpers/sooner/subscribers_helper.rb,
app/mailers/sooner/subscribers_mailer.rb,
app/helpers/sooner/admin/subscribers_helper.rb,
lib/generators/sooner/views/views_generator.rb,
app/controllers/sooner/application_controller.rb,
app/controllers/sooner/subscribers_controller.rb,
lib/generators/sooner/install/install_generator.rb,
app/controllers/sooner/admin/subscribers_controller.rb
Defined Under Namespace
Modules: ApplicationHelper, SubscribersHelper Classes: ApplicationController, Engine, InstallGenerator, Subscriber, SubscribersController, SubscribersMailer, ViewsGenerator
Constant Summary collapse
- VERSION =
"0.0.10"
- @@admin_username =
'admin'
- @@admin_password =
'admin'
- @@sooner_mail =
'[email protected]'
- @@name_required =
false
- @@mongo_store =
true
- @@csv_store =
true
- @@csv_file =
'subscribers.csv'
- @@mailer_sender =
nil
- @@subscribed =
'Subscribed Successfully.'
- @@already_subscribed =
'Already Subscribed.'
- @@error_subscribed =
'Please Try to subscribe again.'
Class Method Summary collapse
-
.setup {|_self| ... } ⇒ Object
Default way to setup Sooner.
Class Method Details
.setup {|_self| ... } ⇒ Object
Default way to setup Sooner. Run rails generate sooner_install to create a fresh initializer with all configuration values.
41 42 43 |
# File 'lib/sooner.rb', line 41 def self.setup yield self end |