messagebus_ruby_api 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +7 -6
- data/lib/messagebus_ruby_api/version.rb +1 -1
- metadata +1 -1
data/README.rdoc
CHANGED
|
@@ -8,16 +8,17 @@ Start by requiring MessagebusRubyApi:
|
|
|
8
8
|
client = MessagebusRubyApi::Client.new("<INSERT_YOUR_API_KEY>")
|
|
9
9
|
==Sending Emails
|
|
10
10
|
=== Setting common fields for your emails
|
|
11
|
-
client.
|
|
11
|
+
client.send_common_info={:fromEmail=>"from@example.com"}
|
|
12
12
|
==== When not using an API template
|
|
13
|
-
=====Required
|
|
13
|
+
=====Required send_common_info fields
|
|
14
14
|
:fromEmail
|
|
15
|
-
=====Optional
|
|
16
|
-
:fromName, :tags,
|
|
15
|
+
=====Optional send_common_info fields
|
|
16
|
+
:fromName, :tags,
|
|
17
|
+
:customHeaders
|
|
17
18
|
==== When using an API template
|
|
18
|
-
=====Required
|
|
19
|
+
=====Required send_common_info fields
|
|
19
20
|
:templateKey
|
|
20
|
-
=====Optional
|
|
21
|
+
=====Optional send_common_info field
|
|
21
22
|
None
|
|
22
23
|
=== Adding messages to the send buffer
|
|
23
24
|
result=client.add_message({:toEmail=>"to@example.com"})
|