files.com 1.1.45 → 1.1.46

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72f3b43e44f4188afc6dba43a69bd5ef7458aaa3d3a150a914c5c2abebe680cf
4
- data.tar.gz: 73bc5a19787d23c0d761ced1f10e19b26073d96cda9ad5d9ea7817feadc79a1d
3
+ metadata.gz: 6797666d267b563e34c8e4b1dadc5050974bc0957524d6a30356c9e19cbe53c8
4
+ data.tar.gz: 343195aed7e8c94858f0b74aa422f04e7116bfbe82acea08b7ad343ad7e382f0
5
5
  SHA512:
6
- metadata.gz: 22dcf358be504e49ba76ee812bee50ed48ae4bc998d7da6ab3ac95dde696105f6bd306a3d5bc2ef860dff60a5e368cbc6e9dc6cd32bd3c42798e7d958dd61f55
7
- data.tar.gz: bf0d4edfc582a84df95afa3ce9605ccec75ed50e5266f8c827bde8b7ca53c0e2fdf53d7966b8e2b89bdc6389bad6ae40e29c4582dbc44d985f04999fd77d704c
6
+ metadata.gz: f25e0a5e7699e2f41dff2ea5da689c3d94a9f2a6b5b10c1b910e9426e04c4bde3bbb217ffc64a3a31ca8c8037846a56658d13be882b2de7b06cb714cf6816937
7
+ data.tar.gz: 37aad33f6b8bc3d3b6ff2e92065fce9551f665783a894199b345e1eba4fd256a0ea001f7ebb9a01e9fbf074b7e5077599209e01c426875ad0e0b85881fa78e09
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.45
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).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.45"
4
+ VERSION = "1.1.46"
5
5
  end
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.45
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-17 00:00:00.000000000 Z
11
+ date: 2024-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable