Module: Newsly
- Defined in:
- lib/newsly.rb,
lib/newsly/engine.rb,
lib/newsly/version.rb,
app/mailers/newsly/mailer.rb,
app/models/newsly/template.rb,
app/models/newsly/newsletter.rb,
app/models/newsly/liquid_model.rb,
app/workers/newsly/newsletter_sender.rb,
app/helpers/newsly/application_helper.rb,
app/controllers/newsly/snippets_controller.rb,
app/workers/newsly/newsletter_batch_sender.rb,
app/controllers/newsly/templates_controller.rb,
app/controllers/newsly/application_controller.rb,
app/controllers/newsly/newsletters_controller.rb
Defined Under Namespace
Modules: ApplicationHelper
Classes: ApplicationController, Engine, LiquidModel, Mailer, Newsletter, NewsletterBatchSender, NewsletterSender, NewslettersController, SnippetsController, Template, TemplatesController
Constant Summary
collapse
- VERSION =
"0.5.3"
- @@test_data =
{}
- @@recipient_groups =
{}
- @@resource_email_column =
:email
- @@default_from =
"[email protected]"
- @@return_path =
"[email protected]"
Class Method Summary
collapse
Class Method Details
.define_newsletter_receipient_group(group, &block) ⇒ Object
19
20
21
|
# File 'lib/newsly.rb', line 19
def self.define_newsletter_receipient_group(group, &block)
@@recipient_groups[group] = block
end
|
.get_newsletter_receipient_group(group) ⇒ Object
23
24
25
|
# File 'lib/newsly.rb', line 23
def self.get_newsletter_receipient_group(group)
@@recipient_groups[group]
end
|
.setup {|_self| ... } ⇒ Object
15
16
17
|
# File 'lib/newsly.rb', line 15
def self.setup
yield self
end
|