Skip to content

Commit 42eb39a

Browse files
author
Rich Leland
committed
Change transmission to transmissions in sphinx docs. Refs #62
1 parent 16e1500 commit 42eb39a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/resources/transmissions.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Here at SparkPost, our messages are known as transmissions. Let's use the underl
99
1010
sp = SparkPost()
1111
12-
response = sp.transmission.send(
12+
response = sp.transmissions.send(
1313
recipients=['[email protected]'],
1414
html='<p>Hello world</p>',
1515
from_email='[email protected]',
@@ -43,7 +43,7 @@ Using inline templates and/or recipients
4343
4444
sp = SparkPost()
4545
46-
sp.transmission.send(
46+
sp.transmissions.send(
4747
recipients=['[email protected]'],
4848
text="Hello world",
4949
html='<p>Hello world</p>',
@@ -63,7 +63,7 @@ Sending an attachment
6363
6464
sp = SparkPost()
6565
66-
sp.transmission.send(
66+
sp.transmissions.send(
6767
recipients=['[email protected]'],
6868
text="Hello world",
6969
html='<p>Hello world</p>',
@@ -90,7 +90,7 @@ Using a stored template
9090
9191
sp = SparkPost()
9292
93-
sp.transmission.send(
93+
sp.transmissions.send(
9494
recipients=['[email protected]'],
9595
template='my-template-id'
9696
)
@@ -105,7 +105,7 @@ Using a stored recipient list
105105
106106
sp = SparkPost()
107107
108-
sp.transmission.send(
108+
sp.transmissions.send(
109109
recipient_list='my-recipient-list',
110110
template='my-template-id'
111111
)
@@ -120,7 +120,7 @@ Retrieve a transmission
120120
121121
sp = SparkPost()
122122
123-
sp.transmission.get('my-transmission-id')
123+
sp.transmissions.get('my-transmission-id')
124124
125125
126126
List all transmissions
@@ -132,7 +132,7 @@ List all transmissions
132132
133133
sp = SparkPost()
134134
135-
sp.transmission.list()
135+
sp.transmissions.list()
136136
137137
138138
API reference

0 commit comments

Comments
 (0)