mailblastr 3.0.0 → 3.0.1
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/mailblastr/emails.rb +7 -0
- data/lib/mailblastr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9de7ff5dac71bd3ba5db1b38369328167f9b2a52b59974201f868299f23d35c
|
|
4
|
+
data.tar.gz: bc48385e4675d1c6ef5163e5fb7a2583b145562bf43e8a4d5d3d33f9797eecea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 40472dc57967817c0071973ecb6d7f353f5a927f9261c76f035f13552d47680481caad49fcf01da8a6698996278811f23c6a8b999a6aa8312461e92d88676a0e
|
|
7
|
+
data.tar.gz: 63131860cae2becb8dddc98c36aed13e970433541b81e4c0b93732ca968ab9a7a2db9c6ee7d5630d114a2e46ea3d09c21d7a49193f7e337b98dce95bf42c7057
|
data/lib/mailblastr/emails.rb
CHANGED
|
@@ -6,6 +6,13 @@ module Mailblastr
|
|
|
6
6
|
class << self
|
|
7
7
|
# Send a single email. POST /emails
|
|
8
8
|
# Mailblastr::Emails.send({ from: "...", to: ["..."], subject: "...", html: "..." })
|
|
9
|
+
#
|
|
10
|
+
# Write ordinary links. Anchors, markdown links and bare URLs/domains in
|
|
11
|
+
# BOTH the :html and :text bodies are converted to tracked redirects at
|
|
12
|
+
# send time (when the sending domain has click tracking on), so a click is
|
|
13
|
+
# recorded whichever alternative the recipient's mail client renders.
|
|
14
|
+
# Opt-out links are never wrapped, and the content you send is stored and
|
|
15
|
+
# returned UNCHANGED — only the delivered copy carries the tracking URL.
|
|
9
16
|
# Pass { idempotency_key: "order-123" } as the second argument to retry safely.
|
|
10
17
|
def send(params, options = {})
|
|
11
18
|
Client.request(:post, "/emails", body: params, options: options)
|
data/lib/mailblastr/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mailblastr
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- MailBlastr
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: minitest
|