mailosaur 7.10.0 → 7.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Mailosaur/models/message_create_options.rb +6 -0
- data/lib/Mailosaur/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: 6102a62b1dead548c4a915faaa7e5d11fefc16c10850ccee5482c9974ab656df
|
4
|
+
data.tar.gz: 9005be36f38c933f9ada0df3312fc23dcffd74c6611d93ef300277ab9c78a0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43b69b34cae04d096a6c2a7d16275d83b98cd3b9d9a876e6512b4c99ad85eb59c5c4830ca3c3b983e0988037c522e847c7297125175eb5e5240a1aabba857403
|
7
|
+
data.tar.gz: f1cf79f34626e7645ac92a8eef78c9b7d535c5c765170318b03cde0e4385a3a5df82a00b71e3019cb2517b4021c0d5fde7ed7dfeaddeb7b289eff491eea2c029
|
@@ -3,6 +3,7 @@ module Mailosaur
|
|
3
3
|
class MessageCreateOptions < BaseModel
|
4
4
|
def initialize(data = {})
|
5
5
|
@to = data['to']
|
6
|
+
@from = data['from']
|
6
7
|
@send = data['send']
|
7
8
|
@subject = data['subject']
|
8
9
|
@text = data['text']
|
@@ -14,6 +15,11 @@ module Mailosaur
|
|
14
15
|
# Must be a verified email address.
|
15
16
|
attr_accessor :to
|
16
17
|
|
18
|
+
# @return [String] Allows for the partial override of the message's
|
19
|
+
# 'from' address. This **must** be an address ending with
|
20
|
+
# `YOUR_SERVER.mailosaur.net`, such as `my-emails@a1bcdef2.mailosaur.net`.
|
21
|
+
attr_accessor :from
|
22
|
+
|
17
23
|
# @return [Boolean] If true, email will be sent upon creation.
|
18
24
|
attr_accessor :send
|
19
25
|
|
data/lib/Mailosaur/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailosaur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mailosaur
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06
|
11
|
+
date: 2022-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|