Correct "merge_vars" name in docs

Docs incorrectly gives the per-recipient merge variables attribute name
as "recipient_merge_vars" instead of the correct name "merge_vars"
This commit is contained in:
Rod Begbie
2013-04-26 18:13:50 -07:00
parent be9b2b8e7c
commit ee2af9e2b7

View File

@@ -174,13 +174,13 @@ Most of the options from the Mandrill
message.global_merge_vars = {'company': "ACME", 'offer': "10% off"}
.. attribute:: recipient_merge_vars
.. attribute:: merge_vars
``dict``: per-recipient merge variables (most useful with :ref:`mandrill-templates`). The keys
in the dict are the recipient email addresses, and the values are dicts of merge vars for
each recipient::
message.recipient_merge_vars = {
message.merge_vars = {
'wiley@example.com': {'offer': "15% off anvils"},
'rr@example.com': {'offer': "instant tunnel paint"}
}
@@ -217,7 +217,7 @@ Most of the options from the Mandrill
``dict``: per-recipient metadata values. Keys are the recipient email addresses,
and values are dicts of metadata for each recipient (similar to
:attr:`recipient_merge_vars`)
:attr:`merge_vars`)
These Mandrill-specific properties work with *any*