files.com 1.0.26 → 1.0.27

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: 7709e4f414eb10e7dd04880d7601597b146bd3f37889da91107bffe83f8240e4
4
- data.tar.gz: b24c3bad0c628f1d71b086f46687656d72e02bba907fa53eac32a2d91f09c3aa
3
+ metadata.gz: be4425150c04a95dcfaa31e51e2397568b789617fb8c3227e686d0335ddfe782
4
+ data.tar.gz: 2d31bdc1c42e64e498f2e9e5dc5f2ffa5b17edddaa16d6f781b6545ecf9c70c8
5
5
  SHA512:
6
- metadata.gz: 5324ac80f91a4d85cf407d5c1f9a5c4331ef362fb399e65524449dddf645bade19d3b984efeecbc16777b32b5d0275d1d1465cad584fa3d4204e98c12e80d347
7
- data.tar.gz: e9b2b7ddb6d2683d2e087dd4ebe18b609be7ef90742932d8ad123467bf7ef55c9debcd80e928bbbd676bd1ddc228cccf4f52bf45c75a91ca7769736b5c1dcf45
6
+ metadata.gz: 5a942e2896eb7fa3cddffc0729644302a4abc62cb6190d7ce8e6fc44e328ca758b240228526bedc041f45523018c14293b29ef77469b8482e497100610832b2b
7
+ data.tar.gz: a65dc7f2e8e2db6a2ef76781a0c7db3828ae66a1592b4d55100d81a8774d979d9d8860b1dc5e4808243cd7da2051d3077a2746ea3a06707a56fed3f3a9b16357
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.26
1
+ 1.0.27
data/docs/notification.md CHANGED
@@ -14,7 +14,8 @@
14
14
  "unsubscribed": true,
15
15
  "unsubscribed_reason": "",
16
16
  "user_id": 1,
17
- "username": "User"
17
+ "username": "User",
18
+ "suppressed_email": "suppressed_email"
18
19
  }
19
20
  ```
20
21
 
@@ -29,6 +30,7 @@
29
30
  * `unsubscribed_reason` (string): The reason that the user unsubscribed
30
31
  * `user_id` (int64): Notification user ID
31
32
  * `username` (string): Notification username
33
+ * `suppressed_email` (boolean): If true, it means that the recipient at this user's email address has manually unsubscribed from all emails, or had their email "hard bounce", which means that we are unable to send mail to this user's current email address. Notifications will resume if the user changes their email address.
32
34
 
33
35
 
34
36
  ---
@@ -108,6 +108,15 @@ module Files
108
108
  @attributes[:username] = value
109
109
  end
110
110
 
111
+ # boolean - If true, it means that the recipient at this user's email address has manually unsubscribed from all emails, or had their email "hard bounce", which means that we are unable to send mail to this user's current email address. Notifications will resume if the user changes their email address.
112
+ def suppressed_email
113
+ @attributes[:suppressed_email]
114
+ end
115
+
116
+ def suppressed_email=(value)
117
+ @attributes[:suppressed_email] = value
118
+ end
119
+
111
120
  # Parameters:
112
121
  # notify_on_copy - boolean - If `true`, copying or moving resources into this path will trigger a notification, in addition to just uploads.
113
122
  # notify_user_actions - boolean - If `true` actions initiated by the user will still result in a notification
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.0.26
4
+ version: 1.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-09 00:00:00.000000000 Z
11
+ date: 2020-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday