Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important

This repository has been consolidated into the new resend-examples monorepo, which contains updated examples for all languages and frameworks.

View the Sinatra examples here


Resend with Sinatra

This example shows how to use Resend with Sinatra.

Prerequisites

To get the most out of this guide, you’ll need to:

Installation

Get the Resend Ruby SDK.

# Via RubyGems
gem install resend

# Via Gemfile
gem 'resend'

Instructions

  1. Set your RESEND_API_KEY environment variable by running:
export RESEND_API_KEY="re_123456789"
  1. Install dependencies:
bundle install
  1. Execute the following command:
ruby index.rb

Or if you installed via Gemfile with bundle install run the following command:

bundle exec ruby index.rb

License

MIT License

About

This example shows how to use Resend with Sinatra

Resources

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors

Languages