files.com 1.1.45 → 1.1.46
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/_VERSION +1 -1
- data/docs/email_log.md +7 -1
- data/lib/files.com/models/email_log.rb +15 -0
- data/lib/files.com/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: 6797666d267b563e34c8e4b1dadc5050974bc0957524d6a30356c9e19cbe53c8
|
|
4
|
+
data.tar.gz: 343195aed7e8c94858f0b74aa422f04e7116bfbe82acea08b7ad343ad7e382f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f25e0a5e7699e2f41dff2ea5da689c3d94a9f2a6b5b10c1b910e9426e04c4bde3bbb217ffc64a3a31ca8c8037846a56658d13be882b2de7b06cb714cf6816937
|
|
7
|
+
data.tar.gz: 37aad33f6b8bc3d3b6ff2e92065fce9551f665783a894199b345e1eba4fd256a0ea001f7ebb9a01e9fbf074b7e5077599209e01c426875ad0e0b85881fa78e09
|
data/_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.46
|
data/docs/email_log.md
CHANGED
|
@@ -9,7 +9,10 @@
|
|
|
9
9
|
"status": "example",
|
|
10
10
|
"subject": "example",
|
|
11
11
|
"to": "example",
|
|
12
|
-
"cc": "example"
|
|
12
|
+
"cc": "example",
|
|
13
|
+
"delivery_method": "example",
|
|
14
|
+
"smtp_hostname": "example",
|
|
15
|
+
"smtp_ip": "example"
|
|
13
16
|
}
|
|
14
17
|
```
|
|
15
18
|
|
|
@@ -19,6 +22,9 @@
|
|
|
19
22
|
* `subject` (string): Subject line of E-Mail
|
|
20
23
|
* `to` (string): To field of E-Mail
|
|
21
24
|
* `cc` (string): CC field of E-Mail
|
|
25
|
+
* `delivery_method` (string): How was email deliered? `customer_smtp` or `files.com`
|
|
26
|
+
* `smtp_hostname` (string): Customer SMTP Hostname used.
|
|
27
|
+
* `smtp_ip` (string): Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).
|
|
22
28
|
|
|
23
29
|
|
|
24
30
|
---
|
|
@@ -39,6 +39,21 @@ module Files
|
|
|
39
39
|
@attributes[:cc]
|
|
40
40
|
end
|
|
41
41
|
|
|
42
|
+
# string - How was email deliered? `customer_smtp` or `files.com`
|
|
43
|
+
def delivery_method
|
|
44
|
+
@attributes[:delivery_method]
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# string - Customer SMTP Hostname used.
|
|
48
|
+
def smtp_hostname
|
|
49
|
+
@attributes[:smtp_hostname]
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
# string - Customer SMTP IP address as resolved for use (useful for troubleshooting DNS issues with customer SMTP).
|
|
53
|
+
def smtp_ip
|
|
54
|
+
@attributes[:smtp_ip]
|
|
55
|
+
end
|
|
56
|
+
|
|
42
57
|
# Parameters:
|
|
43
58
|
# cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
|
|
44
59
|
# per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
|
data/lib/files.com/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: files.com
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.46
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- files.com
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|