Skip to content

New default options not working for Rails version under 4 #104

Closed
@neolyte

Description

@neolyte

Under Rails version 4, the new default options in mailjet-gem/lib/mailjet/configuration.rb are NOT properly set.

To fix, one would have to add these manually in their configuration initializer.

Mailjet.configure do |config|
  config.api_key          = ENV['MAILJET_KEY']
  config.secret_key       = ENV['MAILJET_SECRET']
  config.default_from     = 'xxxx'
  config.perform_api_call = true
  config.api_version      = 'v3'
  config.end_point        = 'https://api.mailjet.com'
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions