customers_mail_cloud 0.3.0 → 0.4.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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/customers_mail_cloud/client.rb +10 -2
- data/lib/customers_mail_cloud/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7cdbca25fe57436409f8390d3ab6dc5a61fe8540ba2abab0604e906e2be332ad
|
|
4
|
+
data.tar.gz: 545610d4b3b4db204a841e7f56599543ed9dd25224c3cf05fff3c98f232c55fd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b9b17b636422c284695ec6fe05e9f553f30c3d599b47934dc917136a917a6c97739155a3f4af5ba11c57886fbec25935621817fc9328134314f31987b3e2c5f
|
|
7
|
+
data.tar.gz: b7b38ad6e256d39a3f93a2e63d949a4ea2a86d71930ca368fbdc41bda1959f2e369a1f02969d645d4097fe9f953e79d8f45fd4b80873fa604adbac12cc6f784f
|
data/Gemfile.lock
CHANGED
|
@@ -19,10 +19,14 @@ module CustomersMailCloud
|
|
|
19
19
|
@subject = ''
|
|
20
20
|
@text = ''
|
|
21
21
|
@html = ''
|
|
22
|
+
@envfrom = nil
|
|
23
|
+
@replyto = nil
|
|
24
|
+
@headers = {}
|
|
25
|
+
@charset = 'UTF-8'
|
|
22
26
|
@attachments = []
|
|
23
27
|
end
|
|
24
28
|
attr_accessor :api_user, :api_key, :to, :from,
|
|
25
|
-
:subject, :text, :html, :attachments
|
|
29
|
+
:subject, :text, :html, :envfrom, :replyto, :headers, :charset, :attachments
|
|
26
30
|
def trial
|
|
27
31
|
@url = @endpoints[:trial]
|
|
28
32
|
end
|
|
@@ -63,7 +67,11 @@ module CustomersMailCloud
|
|
|
63
67
|
subject: @subject,
|
|
64
68
|
text: @text
|
|
65
69
|
}
|
|
66
|
-
params
|
|
70
|
+
params[:envfrom] = @envfrom if @envfrom
|
|
71
|
+
params[:replyto] = @replyto if @replyto
|
|
72
|
+
params[:headers] = @headers if @headers.size > 0
|
|
73
|
+
params[:charset] = @charset if @charset != 'UTF-8'
|
|
74
|
+
params[:html] = @html if @html != ''
|
|
67
75
|
headers = {
|
|
68
76
|
'Content-Type': 'application/json',
|
|
69
77
|
'Accept': 'application/json'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: customers_mail_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Atsushi
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-07-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby library for Customers Mail Cloud. Customers Mail Cloud is email
|
|
14
14
|
sending service provider that supports SMTP or Web API.
|
|
@@ -42,7 +42,7 @@ metadata:
|
|
|
42
42
|
homepage_uri: https://smtps.jp/
|
|
43
43
|
source_code_uri: https://github.com/goofmint/CustmersMailCloud-rb
|
|
44
44
|
changelog_uri: https://github.com/goofmint/CustmersMailCloud-rb/CHANGELOG
|
|
45
|
-
post_install_message:
|
|
45
|
+
post_install_message:
|
|
46
46
|
rdoc_options: []
|
|
47
47
|
require_paths:
|
|
48
48
|
- lib
|
|
@@ -57,8 +57,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
57
57
|
- !ruby/object:Gem::Version
|
|
58
58
|
version: '0'
|
|
59
59
|
requirements: []
|
|
60
|
-
rubygems_version: 3.
|
|
61
|
-
signing_key:
|
|
60
|
+
rubygems_version: 3.4.9
|
|
61
|
+
signing_key:
|
|
62
62
|
specification_version: 4
|
|
63
63
|
summary: Ruby library for Customers Mail Cloud
|
|
64
64
|
test_files: []
|