class Mailjet::Mailer

Public Class Methods

new(options = {}) click to toggle source
Calls superclass method
# File lib/mailjet/mailer.rb, line 5
def initialize(options = {})
  super({
    :address  => "in-v3.mailjet.com",
    :port  => 587,
    :authentication  => 'plain',
    :user_name => Mailjet.config.api_key,
    :password  => Mailjet.config.secret_key,
    :enable_starttls_auto => true
  }.merge(options))
end