mailosaur 7.16.0 → 7.17.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6504f3e1aef2209e036e67f395949c4fb63fa69dfd0b28bfbcee266c5b3e2930
4
- data.tar.gz: 0d464db804db6466e9cbab81f478009f9376d26c0a95f59123a7d56b5638b356
3
+ metadata.gz: a4e9715da4f69e6078392f4846fe8f85228b1cb0c8efd32f75ab5262ad0b7510
4
+ data.tar.gz: 42afb8a6023e449b90e4cb5c185ba02564b307460cdac6082edac492250ebc07
5
5
  SHA512:
6
- metadata.gz: 7d0bdcaa10eb017668738aa7d09f68f5da4822a06330b045689136f8e6f9df9ce7e788a8dacecfbaf47acad1bebfe969c43083795e1fb324d41345b4f8c729a3
7
- data.tar.gz: b1761bddcfaafa75df9f1b3398518447c2c7a547e1a035772f7d523b8688ad26aab3856646505183a4f9adf9401bbcbc9a63faa955b71729ba493dc8cdeb5935
6
+ metadata.gz: 4d439710cbb8ee21bc8956f6f9b14222e76ab9132e0826bfd4fb612934f3e45059ef3bdadead642c7689af76e3af8849f5f3ed2d4ba4c562e21967d7951f2c0b
7
+ data.tar.gz: 9300b227579346522080db84cfa5483f8662af6f288bed790025e0f50e5e4d547a58984132c0d9742f6e3ecbe8a9d75723a1a115e13e1e72fa4b18480a05588b
@@ -3,6 +3,7 @@ module Mailosaur
3
3
  class MessageCreateOptions < BaseModel
4
4
  def initialize(data = {})
5
5
  @to = data['to']
6
+ @cc = data['cc']
6
7
  @from = data['from']
7
8
  @send = data['send']
8
9
  @subject = data['subject']
@@ -15,6 +16,10 @@ module Mailosaur
15
16
  # Must be a verified email address.
16
17
  attr_accessor :to
17
18
 
19
+ # @return [String] The email address to which the email will be CC'd.
20
+ # Must be a verified email address.
21
+ attr_accessor :cc
22
+
18
23
  # @return [String] Allows for the partial override of the message's
19
24
  # 'from' address. This **must** be an address ending with
20
25
  # `YOUR_SERVER.mailosaur.net`, such as `my-emails@a1bcdef2.mailosaur.net`.
@@ -3,6 +3,7 @@ module Mailosaur
3
3
  class MessageForwardOptions < BaseModel
4
4
  def initialize(data = {})
5
5
  @to = data['to']
6
+ @cc = data['cc']
6
7
  @text = data['text']
7
8
  @html = data['html']
8
9
  end
@@ -11,6 +12,10 @@ module Mailosaur
11
12
  # Must be a verified email address.
12
13
  attr_accessor :to
13
14
 
15
+ # @return [String] The email address to which the email will be CC'd.
16
+ # Must be a verified email address.
17
+ attr_accessor :cc
18
+
14
19
  # @return [String] Any additional plain text content to forward the
15
20
  # email with. Note that only text or html can be supplied, not both.
16
21
  attr_accessor :text
@@ -2,11 +2,16 @@ module Mailosaur
2
2
  module Models
3
3
  class MessageReplyOptions < BaseModel
4
4
  def initialize(data = {})
5
+ @cc = data['cc']
5
6
  @text = data['text']
6
7
  @html = data['html']
7
8
  @attachments = data['attachments']
8
9
  end
9
10
 
11
+ # @return [String] The email address to which the email will be CC'd.
12
+ # Must be a verified email address.
13
+ attr_accessor :cc
14
+
10
15
  # @return [String] Any additional plain text content to include in
11
16
  # the reply. Note that only text or html can be supplied, not both.
12
17
  attr_accessor :text
@@ -1,3 +1,3 @@
1
1
  module Mailosaur
2
- VERSION = '7.16.0'.freeze
2
+ VERSION = '7.17.0'.freeze
3
3
  end
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.16.0
4
+ version: 7.17.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mailosaur
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-30 00:00:00.000000000 Z
11
+ date: 2025-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday