Skip to content

resend/resend-sinatra-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

License

Stars

Watchers

Forks

Languages