Skip to content

Commit

Permalink
Typo :(
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious authored Jul 22, 2016
1 parent 6f60e19 commit 1724909
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/helpers/mail/example.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def hello_world
sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'], host: 'https://api.sendgrid.com')
response = sg.client.mail._('send').post(request_body: mail.to_json)
puts response.status_code
puts response.response_body
puts response.response_headers
puts response.body
puts response.headers
end

def kitchen_sink
Expand Down Expand Up @@ -122,8 +122,8 @@ def kitchen_sink
sg = SendGrid::API.new(api_key: ENV['SENDGRID_API_KEY'], host: 'https://api.sendgrid.com')
response = sg.client.mail._('send').post(request_body: mail.to_json)
puts response.status_code
puts response.response_body
puts response.response_headers
puts response.body
puts response.headers
end

hello_world
Expand Down

0 comments on commit 1724909

Please sign in to comment.