Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/helpers/eventwebhook/example.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require 'sengrid-ruby'
require 'sendgrid-ruby'
include SendGrid

def is_valid_signature(request)
Expand Down
2 changes: 1 addition & 1 deletion examples/mail/mail.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"enable": true,
"html": "If you would like to unsubscribe and stop receiving these emails <% clickhere %>.",
"substitution_tag": "<%click here%>",
"text": "If you would like to unsubscribe and stop receiveing these emails <% click here %>."
"text": "If you would like to unsubscribe and stop receiving these emails <% click here %>."
}
}
}')
Expand Down
2 changes: 1 addition & 1 deletion lib/sendgrid/helpers/inbound/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'sinatra'
rescue LoadError
puts <<-NOTE
As of sengrid verison 6, sinatra is no longer specified as a dependency of
As of sendgrid version 6, sinatra is no longer specified as a dependency of
Copy link

@RileyManda RileyManda Sep 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency, use Inbound as used in other sections(Example,in this file::lib/sendgrid/helpers/inbound/public/index.html,inbound is written as Inbound) unless inbound and Inbound refer to two different things.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I'll update line 6 from "inbound server" to "Inbound server" to maintain consistency with other references like "Inbound Parse webhook" and "Inbound Parse data" used elsewhere in the codebase.

the sendgrid gem. All the functionality of the inbound server is still the same
and fully supported, but you just need to include the sinatra dependency in your gemfile
yourself, like so:
Expand Down
2 changes: 1 addition & 1 deletion lib/sendgrid/helpers/inbound/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<title>Twilio SendGrid Incoming Parse</title>
</head>
<body>
<h1>You have successfuly launched the server!</h1>
<h1>You have successfully launched the server!</h1>

Check out <a href="https://github.com/sendgrid/sendgrid-ruby/tree/HEAD/sendgrid/helpers/inbound">the documentation</a> on how to use this software to utilize the SendGrid Inbound Parse webhook.
</body>
Expand Down
2 changes: 1 addition & 1 deletion spec/rack/sendgrid_webhook_verification_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@

let(:middleware) { Rack::SendGridWebhookVerification.new(@spy_app, public_key, %r{/email}) }

it 'keeps orignal reading position' do
it 'keeps original reading position' do
options = {
:input => Fixtures::EventWebhook::PAYLOAD,
'Content-Type' => "application/json"
Expand Down
2 changes: 1 addition & 1 deletion test/sendgrid/test_sendgrid-ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ def test_mail_send_post
"enable": true,
"html": "If you would like to unsubscribe and stop receiving these emails <% clickhere %>.",
"substitution_tag": "<%click here%>",
"text": "If you would like to unsubscribe and stop receiveing these emails <% click here %>."
"text": "If you would like to unsubscribe and stop receiving these emails <% click here %>."
}
}
}')
Expand Down
Loading