summaryrefslogtreecommitdiffstats
path: root/SendGrid/Example/Program.cs
diff options
context:
space:
mode:
authorTyler Bischel <tyler.bischel@sendgrid.com>2012-01-24 14:57:47 -0800
committerTyler Bischel <tyler.bischel@sendgrid.com>2012-01-24 14:57:47 -0800
commit1be4549531d73cf89b4bebd2dac003937a1661df (patch)
tree0e2f7611e7df1fd92cdb3cd573ece56c6a846e06 /SendGrid/Example/Program.cs
parentcc9ec168b75ef7ac492996c7d24eeb1177b02476 (diff)
downloadsendgrid-csharp-1be4549531d73cf89b4bebd2dac003937a1661df.zip
sendgrid-csharp-1be4549531d73cf89b4bebd2dac003937a1661df.tar.gz
sendgrid-csharp-1be4549531d73cf89b4bebd2dac003937a1661df.tar.bz2
renamed REST transport to Web
Diffstat (limited to 'SendGrid/Example/Program.cs')
-rwxr-xr-xSendGrid/Example/Program.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/SendGrid/Example/Program.cs b/SendGrid/Example/Program.cs
index c1815b7..a429510 100755
--- a/SendGrid/Example/Program.cs
+++ b/SendGrid/Example/Program.cs
@@ -19,14 +19,14 @@ namespace Example
var from = "cj.buchmann@sendgrid.com";
var to = new List<String>
{
- "cj.buchmann@sendgrid.com"
+ "foo@bar.com"
};
//initialize the SMTPAPI example class
var smtpapi = new SMTPAPI(username, password, from, to);
- var restapi = new RESTAPI(username, password, from, to);
+ var restapi = new WEBAPI(username, password, from, to);
- //use this section to test out our REST and SMTP examples!
+ //use this section to test out our Web and SMTP examples!
restapi.EnableTemplateEmail();
Console.WriteLine("Done!");