Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let us group the mandrill configuration options #22

Open
gabipetrovay opened this issue Sep 11, 2014 · 0 comments
Open

Let us group the mandrill configuration options #22

gabipetrovay opened this issue Sep 11, 2014 · 0 comments

Comments

@gabipetrovay
Copy link
Contributor

Currently we have:

{
    "mandrillKey": "MD_API_KEY",
    "notificationTemplate": "dd-export-notification"
}

It will look better like:

{
    "mandrill": {
        "apiKey": "MD_API_KEY",
        "templates": {
            notification: "dd-export-notification"
            ... other templates could go in here ...
        }
}

With such a configuration we can have a standard piece of code that extracts the needed information (considering that we have more modules that would use this: login, ie-dms)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants