Skip to content

Commit

Permalink
Remove out-dated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kennym committed Nov 25, 2014
1 parent ef86bae commit ca828ff
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions lib/mandrill_mailer/core_mailer.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# MandrilMailer class for sending transactional emails through mandril.
# Only template based emails are supported at this time.

# Example usage:

Expand Down Expand Up @@ -48,7 +47,7 @@
# '[email protected]`
# 2)
# { email: '[email protected]', name: 'Bob Bertly' }
# 3)
# 3)
# [{ email: '[email protected]', name: 'Bob Bertly' },
# { email: '[email protected]', name: 'Claire Nayo' }]
#
Expand Down Expand Up @@ -107,7 +106,7 @@ class CoreMailer
class InvalidEmail < StandardError; end
class InvalidMailerMethod < StandardError; end
class InvalidInterceptorParams < StandardError; end

# Public: Other information on the message to send
attr_accessor :message

Expand Down Expand Up @@ -151,7 +150,7 @@ class << self
# Public: setup a way to test mailer methods
#
# mailer_method - Name of the mailer method the test setup is for
#
#
# block - Block of code to execute to perform the test. The mailer
# and options are passed to the block. The options have to
# contain at least the :email to send the test to.
Expand All @@ -176,7 +175,7 @@ def self.test_setup_for(mailer_method, &block)
# Public: Executes a test email
#
# mailer_method - Method to execute
#
#
# options - The Hash options used to refine the selection (default: {}):
# :email - The email to send the test to.
#
Expand All @@ -197,17 +196,17 @@ def self.test(mailer_method, options={})
end

end

# Public: Triggers the stored Mandrill params to be sent to the Mandrill api
def deliver
mesg = "#{self.class.name}#deliver() is not implemented."
raise NotImplementedError.new(mesg)
end

# Public: Build the hash needed to send to the mandrill api
#
# args - The Hash options used to refine the selection:

# Examples
#
# mandrill_mail template: 'Group Invite',
Expand All @@ -229,7 +228,7 @@ def data
mesg = "#{self.class.name}#data() is not implemented."
raise NotImplementedError.new(mesg)
end

def check_required_options
mesg = "#{self.class.name}#check_required_options() is not implemented."
raise NotImplementedError.new(mesg)
Expand Down Expand Up @@ -360,7 +359,7 @@ def to_params_item(item)
def api_key
MandrillMailer.config.api_key
end


end
end

0 comments on commit ca828ff

Please sign in to comment.