resent 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/resent/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55a5ad3f56b77564042e33b59387a42011ccdce16ee8381bcdfaa29b909ab605
|
|
4
|
+
data.tar.gz: b60f8a33b21adbf65a9f7829fd695c3a51f38991cf6b4edff50987cdc7dda813
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68dbe8d75f37d2bd6c33be597a7efff198368e458c10e488188427d916af02230441b8a50b8e9b44d6ce2c771dd6bc4c08eeb707451b802e17f396057b0c6e1c
|
|
7
|
+
data.tar.gz: 430aef6786c993211c853b1544d39b8608e5f78b932899584eb7ddc215dd0127041ee823980150c874b517de64d27ce9ffb8ceba33185424ab2d4131ccf186d7
|
data/lib/resent/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: resent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Resent
|
|
@@ -11,12 +11,26 @@ cert_chain: []
|
|
|
11
11
|
date: 2026-07-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: |
|
|
14
|
-
|
|
14
|
+
Resent is the official Ruby client for resent.one — a transactional email API built for product and platform teams.
|
|
15
15
|
|
|
16
|
-
gem install resent
|
|
17
|
-
|
|
16
|
+
Install with: gem install resent (or add gem "resent" to your Gemfile).
|
|
17
|
+
|
|
18
|
+
Create an API key in the Resent dashboard, set RESENT_API_KEY, then send mail with a few lines of Ruby:
|
|
19
|
+
|
|
20
|
+
require "resent"
|
|
21
|
+
resent = Resent.new(ENV.fetch("RESENT_API_KEY"))
|
|
22
|
+
resent.emails.send(
|
|
23
|
+
from: "Acme <noreply@yourdomain.com>",
|
|
24
|
+
to: "you@example.com",
|
|
25
|
+
subject: "Hello World",
|
|
26
|
+
html: "<strong>It works!</strong>"
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
Uses only Ruby stdlib (Net::HTTP + JSON) — no extra runtime gems. Supports html and/or text bodies, plus cc, bcc, and reply_to.
|
|
18
30
|
|
|
19
31
|
Docs: https://developers.resent.one/sdks/ruby
|
|
32
|
+
Dashboard: https://resent.one
|
|
33
|
+
Source: https://github.com/resentmail/resent-ruby
|
|
20
34
|
email:
|
|
21
35
|
- hello@resent.one
|
|
22
36
|
executables: []
|
|
@@ -56,5 +70,5 @@ requirements: []
|
|
|
56
70
|
rubygems_version: 3.0.3.1
|
|
57
71
|
signing_key:
|
|
58
72
|
specification_version: 4
|
|
59
|
-
summary: Official Ruby SDK for Resent
|
|
73
|
+
summary: Official Ruby SDK for Resent transactional email
|
|
60
74
|
test_files: []
|