Module: Kublog::Network::Email
- Included in:
- Kublog::Notification
- Defined in:
- lib/kublog/network/email.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: BulkEmail, SingleEmail
Constant Summary collapse
- TEMPLATE =
"app/views/kublog/post_mailer/new_post.liquid.html.erb"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
10 11 12 13 14 |
# File 'lib/kublog/network/email.rb', line 10 def self.included(base) base.send :include, InstanceMethods base.send :extend, ClassMethods base.send :validate, :valid_email_content, :if => :email? end |