Module: SendGridSmtpApi
- Defined in:
- lib/send_grid.rb,
lib/send_grid/version.rb,
lib/send_grid/mail_interceptor.rb
Defined Under Namespace
Modules: InstanceMethods Classes: ApiHeader, MailInterceptor
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/send_grid.rb', line 6 def self.included(base) base.class_eval do include InstanceMethods delegate :substitute, :uniq_args, :category, :add_filter_setting, :standard_smtp, :to => :sendgrid_header alias_method_chain :mail, :sendgrid alias_method :sendgrid_header, :send_grid_header end end |