Skip to content
This repository was archived by the owner on Aug 27, 2021. It is now read-only.

Commit 2fdfc02

Browse files
author
Matt Bernier
committed
Merge pull request #854 from gurgelrenan/patch-1
Fix variable name bug to send email
2 parents f6e0cf1 + 9e6d20c commit 2fdfc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Code_Examples/ruby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ email = SendGrid::Mail.new do |m|
2222
m.html = 'and easy to do anywhere, even with Ruby'
2323
end
2424

25-
sendgrid.send(email)
25+
client.send(email)
2626
{% endcodeblock %}
2727

2828
This example shows how to send email plain text and HTML email using Ruby. The gem [Mail](https://github.com/mikel/mail) is required.

0 commit comments

Comments
 (0)