files.com 1.0.367 → 1.0.368
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/email_incoming_message.md +4 -0
- data/lib/files.com/models/email_incoming_message.rb +10 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c150e495c54507dd6a4648cf667df66a51bcbe3adefd3d4749e7ee1314560400
|
4
|
+
data.tar.gz: 9b331947426923a15b9624adcd6ffafbb7562c7b9844ff634a887db58f9d8730
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aefaf13d849dc255e7d6d0fa1f05d47c23539db8370223408c77da730f50a798b14cc992ada6eb85a42ba9898337edf44d4226d0ade9dbe1ea8abe8ef148af2
|
7
|
+
data.tar.gz: f6868cbc9f2ecca5f426968bf9c650c476fc6aaa2e14a8f82dc1c9b6d8d1660dddd139896e30e790cb1b07eed4a06337b13775fb235af42dfa63e8f3999684fa
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.368
|
@@ -7,7 +7,9 @@
|
|
7
7
|
"id": 1,
|
8
8
|
"inbox_id": 1,
|
9
9
|
"sender": "example",
|
10
|
+
"sender_name": "example",
|
10
11
|
"status": "success",
|
12
|
+
"body": "example",
|
11
13
|
"message": "example",
|
12
14
|
"created_at": "2000-01-01T01:00:00Z"
|
13
15
|
}
|
@@ -16,7 +18,9 @@
|
|
16
18
|
* `id` (int64): Id of the Email Incoming Message
|
17
19
|
* `inbox_id` (int64): Id of the Inbox associated with this message
|
18
20
|
* `sender` (string): Sender of the email
|
21
|
+
* `sender_name` (string): Sender name
|
19
22
|
* `status` (string): Status of the message
|
23
|
+
* `body` (string): Body of the email
|
20
24
|
* `message` (string): Message describing the failure
|
21
25
|
* `created_at` (date-time): Message creation date/time
|
22
26
|
|
@@ -24,11 +24,21 @@ module Files
|
|
24
24
|
@attributes[:sender]
|
25
25
|
end
|
26
26
|
|
27
|
+
# string - Sender name
|
28
|
+
def sender_name
|
29
|
+
@attributes[:sender_name]
|
30
|
+
end
|
31
|
+
|
27
32
|
# string - Status of the message
|
28
33
|
def status
|
29
34
|
@attributes[:status]
|
30
35
|
end
|
31
36
|
|
37
|
+
# string - Body of the email
|
38
|
+
def body
|
39
|
+
@attributes[:body]
|
40
|
+
end
|
41
|
+
|
32
42
|
# string - Message describing the failure
|
33
43
|
def message
|
34
44
|
@attributes[:message]
|