files.com 1.1.81 → 1.1.83
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/api_key.md +2 -2
- data/docs/as2_partner.md +2 -2
- data/docs/as2_station.md +2 -2
- data/docs/automation.md +3 -3
- data/docs/behavior.md +6 -6
- data/docs/bundle.md +3 -3
- data/docs/bundle_notification.md +2 -2
- data/docs/clickwrap.md +2 -2
- data/docs/file.md +6 -6
- data/docs/form_field_set.md +2 -2
- data/docs/gpg_key.md +2 -2
- data/docs/group.md +2 -2
- data/docs/message.md +2 -2
- data/docs/message_comment.md +2 -2
- data/docs/message_comment_reaction.md +1 -1
- data/docs/message_reaction.md +1 -1
- data/docs/notification.md +2 -2
- data/docs/project.md +2 -2
- data/docs/public_key.md +2 -2
- data/docs/remote_server.md +3 -3
- data/docs/sftp_host_key.md +2 -2
- data/docs/share_group.md +2 -2
- data/docs/snapshot.md +3 -3
- data/docs/sso_strategy.md +1 -1
- data/docs/style.md +2 -2
- data/docs/user.md +5 -5
- data/docs/user_request.md +1 -1
- data/lib/files.com/models/behavior.rb +4 -4
- 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: 51503029ddfe69661085fcd7239a9f7419e7d5eb955b7a3f553ac6d1198e31fe
|
4
|
+
data.tar.gz: b17a27b186459bb6e06a84d611696937299cb390853e67d4495aa3f8737d294e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a167b12d4cc558aa9c9a826282b6168ca778a923aa6cfdbe8cf641914d01354c6abb8ac5155c7c8ed78591ee73ef9a1f17e926fa64ba25242a0ee2a23396477
|
7
|
+
data.tar.gz: 55a7b496f5de9a5f60aac06d8befb5036045cac4839590791585c55a49aef08e18db808039720f0f9c7a81de46779773e1842e9dadf3bf10fa827290eb05082a
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.83
|
data/docs/api_key.md
CHANGED
@@ -170,7 +170,7 @@ Files::ApiKey.delete(id)
|
|
170
170
|
## Update Api Key
|
171
171
|
|
172
172
|
```
|
173
|
-
api_key = Files::ApiKey.
|
173
|
+
api_key = Files::ApiKey.find(id)
|
174
174
|
|
175
175
|
api_key.update(
|
176
176
|
description: "example",
|
@@ -194,7 +194,7 @@ api_key.update(
|
|
194
194
|
## Delete Api Key
|
195
195
|
|
196
196
|
```
|
197
|
-
api_key = Files::ApiKey.
|
197
|
+
api_key = Files::ApiKey.find(id)
|
198
198
|
|
199
199
|
api_key.delete
|
200
200
|
```
|
data/docs/as2_partner.md
CHANGED
@@ -137,7 +137,7 @@ Files::As2Partner.delete(id)
|
|
137
137
|
## Update As2 Partner
|
138
138
|
|
139
139
|
```
|
140
|
-
as2_partner = Files::As2Partner.
|
140
|
+
as2_partner = Files::As2Partner.find(id)
|
141
141
|
|
142
142
|
as2_partner.update(
|
143
143
|
name: "AS2 Partner Name",
|
@@ -164,7 +164,7 @@ as2_partner.update(
|
|
164
164
|
## Delete As2 Partner
|
165
165
|
|
166
166
|
```
|
167
|
-
as2_partner = Files::As2Partner.
|
167
|
+
as2_partner = Files::As2Partner.find(id)
|
168
168
|
|
169
169
|
as2_partner.delete
|
170
170
|
```
|
data/docs/as2_station.md
CHANGED
@@ -124,7 +124,7 @@ Files::As2Station.delete(id)
|
|
124
124
|
## Update As2 Station
|
125
125
|
|
126
126
|
```
|
127
|
-
as2_station = Files::As2Station.
|
127
|
+
as2_station = Files::As2Station.find(id)
|
128
128
|
|
129
129
|
as2_station.update(
|
130
130
|
name: "AS2 Station Name"
|
@@ -145,7 +145,7 @@ as2_station.update(
|
|
145
145
|
## Delete As2 Station
|
146
146
|
|
147
147
|
```
|
148
|
-
as2_station = Files::As2Station.
|
148
|
+
as2_station = Files::As2Station.find(id)
|
149
149
|
|
150
150
|
as2_station.delete
|
151
151
|
```
|
data/docs/automation.md
CHANGED
@@ -293,7 +293,7 @@ Files::Automation.delete(id)
|
|
293
293
|
## Manually run automation
|
294
294
|
|
295
295
|
```
|
296
|
-
automation = Files::Automation.
|
296
|
+
automation = Files::Automation.find(id)
|
297
297
|
|
298
298
|
automation.manual_run
|
299
299
|
```
|
@@ -308,7 +308,7 @@ automation.manual_run
|
|
308
308
|
## Update Automation
|
309
309
|
|
310
310
|
```
|
311
|
-
automation = Files::Automation.
|
311
|
+
automation = Files::Automation.find(id)
|
312
312
|
|
313
313
|
automation.update(
|
314
314
|
source: "source",
|
@@ -375,7 +375,7 @@ automation.update(
|
|
375
375
|
## Delete Automation
|
376
376
|
|
377
377
|
```
|
378
|
-
automation = Files::Automation.
|
378
|
+
automation = Files::Automation.find(id)
|
379
379
|
|
380
380
|
automation.delete
|
381
381
|
```
|
data/docs/behavior.md
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
* `name` (string): Name for this behavior.
|
26
26
|
* `description` (string): Description for this behavior.
|
27
27
|
* `value` (object): Settings for this behavior. See the section above for an example value to provide here. Formatting is different for each Behavior type. May be sent as nested JSON or a single JSON-encoded string. If using XML encoding for the API call, this data must be sent as a JSON-encoded string.
|
28
|
-
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
|
28
|
+
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
|
29
29
|
* `recursive` (boolean): Is behavior recursive?
|
30
30
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
31
31
|
* `attachment_delete` (boolean): If true, will delete the file stored in attachment
|
@@ -106,7 +106,7 @@ Files::Behavior.create(
|
|
106
106
|
|
107
107
|
* `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
108
108
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
109
|
-
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
|
109
|
+
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
|
110
110
|
* `recursive` (boolean): Is behavior recursive?
|
111
111
|
* `name` (string): Name for this behavior.
|
112
112
|
* `description` (string): Description for this behavior.
|
@@ -161,7 +161,7 @@ Files::Behavior.update(id,
|
|
161
161
|
* `id` (int64): Required - Behavior ID.
|
162
162
|
* `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
163
163
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
164
|
-
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
|
164
|
+
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
|
165
165
|
* `recursive` (boolean): Is behavior recursive?
|
166
166
|
* `name` (string): Name for this behavior.
|
167
167
|
* `description` (string): Description for this behavior.
|
@@ -188,7 +188,7 @@ Files::Behavior.delete(id)
|
|
188
188
|
## Update Behavior
|
189
189
|
|
190
190
|
```
|
191
|
-
behavior = Files::Behavior.
|
191
|
+
behavior = Files::Behavior.find(id)
|
192
192
|
|
193
193
|
behavior.update(
|
194
194
|
value: "{\"method\": \"GET\"}",
|
@@ -207,7 +207,7 @@ behavior.update(
|
|
207
207
|
* `id` (int64): Required - Behavior ID.
|
208
208
|
* `value` (string): The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
209
209
|
* `attachment_file` (file): Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
210
|
-
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder.
|
210
|
+
* `disable_parent_folder_behavior` (boolean): If true, the parent folder's behavior will be disabled for this folder and its children.
|
211
211
|
* `recursive` (boolean): Is behavior recursive?
|
212
212
|
* `name` (string): Name for this behavior.
|
213
213
|
* `description` (string): Description for this behavior.
|
@@ -221,7 +221,7 @@ behavior.update(
|
|
221
221
|
## Delete Behavior
|
222
222
|
|
223
223
|
```
|
224
|
-
behavior = Files::Behavior.
|
224
|
+
behavior = Files::Behavior.find(id)
|
225
225
|
|
226
226
|
behavior.delete
|
227
227
|
```
|
data/docs/bundle.md
CHANGED
@@ -339,7 +339,7 @@ Files::Bundle.delete(id)
|
|
339
339
|
## Send email(s) with a link to bundle
|
340
340
|
|
341
341
|
```
|
342
|
-
bundle = Files::Bundle.
|
342
|
+
bundle = Files::Bundle.find(id)
|
343
343
|
|
344
344
|
bundle.share(
|
345
345
|
to: ["johndoe@gmail.com"],
|
@@ -361,7 +361,7 @@ bundle.share(
|
|
361
361
|
## Update Bundle
|
362
362
|
|
363
363
|
```
|
364
|
-
bundle = Files::Bundle.
|
364
|
+
bundle = Files::Bundle.find(id)
|
365
365
|
|
366
366
|
bundle.update(
|
367
367
|
paths: ["file.txt"],
|
@@ -428,7 +428,7 @@ bundle.update(
|
|
428
428
|
## Delete Bundle
|
429
429
|
|
430
430
|
```
|
431
|
-
bundle = Files::Bundle.
|
431
|
+
bundle = Files::Bundle.find(id)
|
432
432
|
|
433
433
|
bundle.delete
|
434
434
|
```
|
data/docs/bundle_notification.md
CHANGED
@@ -107,7 +107,7 @@ Files::BundleNotification.delete(id)
|
|
107
107
|
## Update Bundle Notification
|
108
108
|
|
109
109
|
```
|
110
|
-
bundle_notification = Files::BundleNotification.
|
110
|
+
bundle_notification = Files::BundleNotification.find(id)
|
111
111
|
|
112
112
|
bundle_notification.update(
|
113
113
|
notify_on_registration: true,
|
@@ -127,7 +127,7 @@ bundle_notification.update(
|
|
127
127
|
## Delete Bundle Notification
|
128
128
|
|
129
129
|
```
|
130
|
-
bundle_notification = Files::BundleNotification.
|
130
|
+
bundle_notification = Files::BundleNotification.find(id)
|
131
131
|
|
132
132
|
bundle_notification.delete
|
133
133
|
```
|
data/docs/clickwrap.md
CHANGED
@@ -115,7 +115,7 @@ Files::Clickwrap.delete(id)
|
|
115
115
|
## Update Clickwrap
|
116
116
|
|
117
117
|
```
|
118
|
-
clickwrap = Files::Clickwrap.
|
118
|
+
clickwrap = Files::Clickwrap.find(id)
|
119
119
|
|
120
120
|
clickwrap.update(
|
121
121
|
name: "Example Site NDA for Files.com Use",
|
@@ -141,7 +141,7 @@ clickwrap.update(
|
|
141
141
|
## Delete Clickwrap
|
142
142
|
|
143
143
|
```
|
144
|
-
clickwrap = Files::Clickwrap.
|
144
|
+
clickwrap = Files::Clickwrap.find(id)
|
145
145
|
|
146
146
|
clickwrap.delete
|
147
147
|
```
|
data/docs/file.md
CHANGED
@@ -276,7 +276,7 @@ Files::File.begin_upload(path,
|
|
276
276
|
## Download file
|
277
277
|
|
278
278
|
```
|
279
|
-
file = Files::File.
|
279
|
+
file = Files::File.find(path)
|
280
280
|
|
281
281
|
file.download(
|
282
282
|
with_previews: true,
|
@@ -298,7 +298,7 @@ file.download(
|
|
298
298
|
## Update file/folder metadata
|
299
299
|
|
300
300
|
```
|
301
|
-
file = Files::File.
|
301
|
+
file = Files::File.find(path)
|
302
302
|
|
303
303
|
file.update(
|
304
304
|
custom_metadata: {"key":"value"},
|
@@ -320,7 +320,7 @@ file.update(
|
|
320
320
|
## Delete file/folder
|
321
321
|
|
322
322
|
```
|
323
|
-
file = Files::File.
|
323
|
+
file = Files::File.find(path)
|
324
324
|
|
325
325
|
file.delete(
|
326
326
|
recursive: true
|
@@ -338,7 +338,7 @@ file.delete(
|
|
338
338
|
## Copy file/folder
|
339
339
|
|
340
340
|
```
|
341
|
-
file = Files::File.
|
341
|
+
file = Files::File.find(path)
|
342
342
|
|
343
343
|
file.copy(
|
344
344
|
destination: "destination",
|
@@ -360,7 +360,7 @@ file.copy(
|
|
360
360
|
## Move file/folder
|
361
361
|
|
362
362
|
```
|
363
|
-
file = Files::File.
|
363
|
+
file = Files::File.find(path)
|
364
364
|
|
365
365
|
file.move(
|
366
366
|
destination: "destination",
|
@@ -380,7 +380,7 @@ file.move(
|
|
380
380
|
## Begin file upload
|
381
381
|
|
382
382
|
```
|
383
|
-
file = Files::File.
|
383
|
+
file = Files::File.find(path)
|
384
384
|
|
385
385
|
file.begin_upload(
|
386
386
|
mkdir_parents: true,
|
data/docs/form_field_set.md
CHANGED
@@ -142,7 +142,7 @@ Files::FormFieldSet.delete(id)
|
|
142
142
|
## Update Form Field Set
|
143
143
|
|
144
144
|
```
|
145
|
-
form_field_set = Files::FormFieldSet.
|
145
|
+
form_field_set = Files::FormFieldSet.find(id)
|
146
146
|
|
147
147
|
form_field_set.update(
|
148
148
|
title: "Sample Form Title",
|
@@ -168,7 +168,7 @@ form_field_set.update(
|
|
168
168
|
## Delete Form Field Set
|
169
169
|
|
170
170
|
```
|
171
|
-
form_field_set = Files::FormFieldSet.
|
171
|
+
form_field_set = Files::FormFieldSet.find(id)
|
172
172
|
|
173
173
|
form_field_set.delete
|
174
174
|
```
|
data/docs/gpg_key.md
CHANGED
@@ -118,7 +118,7 @@ Files::GpgKey.delete(id)
|
|
118
118
|
## Update Gpg Key
|
119
119
|
|
120
120
|
```
|
121
|
-
gpg_key = Files::GpgKey.
|
121
|
+
gpg_key = Files::GpgKey.find(id)
|
122
122
|
|
123
123
|
gpg_key.update(
|
124
124
|
public_key: "7f8bc1210b09b9ddf469e6b6b8920e76",
|
@@ -142,7 +142,7 @@ gpg_key.update(
|
|
142
142
|
## Delete Gpg Key
|
143
143
|
|
144
144
|
```
|
145
|
-
gpg_key = Files::GpgKey.
|
145
|
+
gpg_key = Files::GpgKey.find(id)
|
146
146
|
|
147
147
|
gpg_key.delete
|
148
148
|
```
|
data/docs/group.md
CHANGED
@@ -145,7 +145,7 @@ Files::Group.delete(id)
|
|
145
145
|
## Update Group
|
146
146
|
|
147
147
|
```
|
148
|
-
group = Files::Group.
|
148
|
+
group = Files::Group.find(id)
|
149
149
|
|
150
150
|
group.update(
|
151
151
|
notes: "example",
|
@@ -179,7 +179,7 @@ group.update(
|
|
179
179
|
## Delete Group
|
180
180
|
|
181
181
|
```
|
182
|
-
group = Files::Group.
|
182
|
+
group = Files::Group.find(id)
|
183
183
|
|
184
184
|
group.delete
|
185
185
|
```
|
data/docs/message.md
CHANGED
@@ -122,7 +122,7 @@ Files::Message.delete(id)
|
|
122
122
|
## Update Message
|
123
123
|
|
124
124
|
```
|
125
|
-
message = Files::Message.
|
125
|
+
message = Files::Message.find(id)
|
126
126
|
|
127
127
|
message.update(
|
128
128
|
project_id: 1,
|
@@ -144,7 +144,7 @@ message.update(
|
|
144
144
|
## Delete Message
|
145
145
|
|
146
146
|
```
|
147
|
-
message = Files::Message.
|
147
|
+
message = Files::Message.find(id)
|
148
148
|
|
149
149
|
message.delete
|
150
150
|
```
|
data/docs/message_comment.md
CHANGED
@@ -105,7 +105,7 @@ Files::MessageComment.delete(id)
|
|
105
105
|
## Update Message Comment
|
106
106
|
|
107
107
|
```
|
108
|
-
message_comment = Files::MessageComment.
|
108
|
+
message_comment = Files::MessageComment.find(id)
|
109
109
|
|
110
110
|
message_comment.update(
|
111
111
|
body: "body"
|
@@ -123,7 +123,7 @@ message_comment.update(
|
|
123
123
|
## Delete Message Comment
|
124
124
|
|
125
125
|
```
|
126
|
-
message_comment = Files::MessageComment.
|
126
|
+
message_comment = Files::MessageComment.find(id)
|
127
127
|
|
128
128
|
message_comment.delete
|
129
129
|
```
|
@@ -82,7 +82,7 @@ Files::MessageCommentReaction.delete(id)
|
|
82
82
|
## Delete Message Comment Reaction
|
83
83
|
|
84
84
|
```
|
85
|
-
message_comment_reaction = Files::MessageCommentReaction.
|
85
|
+
message_comment_reaction = Files::MessageCommentReaction.find(id)
|
86
86
|
|
87
87
|
message_comment_reaction.delete
|
88
88
|
```
|
data/docs/message_reaction.md
CHANGED
data/docs/notification.md
CHANGED
@@ -203,7 +203,7 @@ Files::Notification.delete(id)
|
|
203
203
|
## Update Notification
|
204
204
|
|
205
205
|
```
|
206
|
-
notification = Files::Notification.
|
206
|
+
notification = Files::Notification.find(id)
|
207
207
|
|
208
208
|
notification.update(
|
209
209
|
notify_on_copy: true,
|
@@ -245,7 +245,7 @@ notification.update(
|
|
245
245
|
## Delete Notification
|
246
246
|
|
247
247
|
```
|
248
|
-
notification = Files::Notification.
|
248
|
+
notification = Files::Notification.find(id)
|
249
249
|
|
250
250
|
notification.delete
|
251
251
|
```
|
data/docs/project.md
CHANGED
@@ -91,7 +91,7 @@ Files::Project.delete(id)
|
|
91
91
|
## Update Project
|
92
92
|
|
93
93
|
```
|
94
|
-
project = Files::Project.
|
94
|
+
project = Files::Project.find(id)
|
95
95
|
|
96
96
|
project.update(
|
97
97
|
global_access: "global_access"
|
@@ -109,7 +109,7 @@ project.update(
|
|
109
109
|
## Delete Project
|
110
110
|
|
111
111
|
```
|
112
|
-
project = Files::Project.
|
112
|
+
project = Files::Project.find(id)
|
113
113
|
|
114
114
|
project.delete
|
115
115
|
```
|
data/docs/public_key.md
CHANGED
@@ -108,7 +108,7 @@ Files::PublicKey.delete(id)
|
|
108
108
|
## Update Public Key
|
109
109
|
|
110
110
|
```
|
111
|
-
public_key = Files::PublicKey.
|
111
|
+
public_key = Files::PublicKey.find(id)
|
112
112
|
|
113
113
|
public_key.update(
|
114
114
|
title: "My Main Key"
|
@@ -126,7 +126,7 @@ public_key.update(
|
|
126
126
|
## Delete Public Key
|
127
127
|
|
128
128
|
```
|
129
|
-
public_key = Files::PublicKey.
|
129
|
+
public_key = Files::PublicKey.find(id)
|
130
130
|
|
131
131
|
public_key.delete
|
132
132
|
```
|
data/docs/remote_server.md
CHANGED
@@ -482,7 +482,7 @@ Files::RemoteServer.delete(id)
|
|
482
482
|
## Post local changes, check in, and download configuration file (used by some Remote Server integrations, such as the Files.com Agent)
|
483
483
|
|
484
484
|
```
|
485
|
-
remote_server = Files::RemoteServer.
|
485
|
+
remote_server = Files::RemoteServer.find(id)
|
486
486
|
|
487
487
|
remote_server.configuration_file(
|
488
488
|
api_token: "example",
|
@@ -520,7 +520,7 @@ remote_server.configuration_file(
|
|
520
520
|
## Update Remote Server
|
521
521
|
|
522
522
|
```
|
523
|
-
remote_server = Files::RemoteServer.
|
523
|
+
remote_server = Files::RemoteServer.find(id)
|
524
524
|
|
525
525
|
remote_server.update(
|
526
526
|
aws_access_key: "example",
|
@@ -647,7 +647,7 @@ remote_server.update(
|
|
647
647
|
## Delete Remote Server
|
648
648
|
|
649
649
|
```
|
650
|
-
remote_server = Files::RemoteServer.
|
650
|
+
remote_server = Files::RemoteServer.find(id)
|
651
651
|
|
652
652
|
remote_server.delete
|
653
653
|
```
|
data/docs/sftp_host_key.md
CHANGED
@@ -98,7 +98,7 @@ Files::SftpHostKey.delete(id)
|
|
98
98
|
## Update Sftp Host Key
|
99
99
|
|
100
100
|
```
|
101
|
-
sftp_host_key = Files::SftpHostKey.
|
101
|
+
sftp_host_key = Files::SftpHostKey.find(id)
|
102
102
|
|
103
103
|
sftp_host_key.update(
|
104
104
|
name: "example"
|
@@ -117,7 +117,7 @@ sftp_host_key.update(
|
|
117
117
|
## Delete Sftp Host Key
|
118
118
|
|
119
119
|
```
|
120
|
-
sftp_host_key = Files::SftpHostKey.
|
120
|
+
sftp_host_key = Files::SftpHostKey.find(id)
|
121
121
|
|
122
122
|
sftp_host_key.delete
|
123
123
|
```
|
data/docs/share_group.md
CHANGED
@@ -115,7 +115,7 @@ Files::ShareGroup.delete(id)
|
|
115
115
|
## Update Share Group
|
116
116
|
|
117
117
|
```
|
118
|
-
share_group = Files::ShareGroup.
|
118
|
+
share_group = Files::ShareGroup.find(id)
|
119
119
|
|
120
120
|
share_group.update(
|
121
121
|
notes: "This group is defined for testing purposes",
|
@@ -137,7 +137,7 @@ share_group.update(
|
|
137
137
|
## Delete Share Group
|
138
138
|
|
139
139
|
```
|
140
|
-
share_group = Files::ShareGroup.
|
140
|
+
share_group = Files::ShareGroup.find(id)
|
141
141
|
|
142
142
|
share_group.delete
|
143
143
|
```
|
data/docs/snapshot.md
CHANGED
@@ -119,7 +119,7 @@ Files::Snapshot.delete(id)
|
|
119
119
|
## Finalize Snapshot
|
120
120
|
|
121
121
|
```
|
122
|
-
snapshot = Files::Snapshot.
|
122
|
+
snapshot = Files::Snapshot.find(id)
|
123
123
|
|
124
124
|
snapshot.finalize
|
125
125
|
```
|
@@ -134,7 +134,7 @@ snapshot.finalize
|
|
134
134
|
## Update Snapshot
|
135
135
|
|
136
136
|
```
|
137
|
-
snapshot = Files::Snapshot.
|
137
|
+
snapshot = Files::Snapshot.find(id)
|
138
138
|
|
139
139
|
snapshot.update(
|
140
140
|
expires_at: "2000-01-01T01:00:00Z",
|
@@ -155,7 +155,7 @@ snapshot.update(
|
|
155
155
|
## Delete Snapshot
|
156
156
|
|
157
157
|
```
|
158
|
-
snapshot = Files::Snapshot.
|
158
|
+
snapshot = Files::Snapshot.find(id)
|
159
159
|
|
160
160
|
snapshot.delete
|
161
161
|
```
|
data/docs/sso_strategy.md
CHANGED
data/docs/style.md
CHANGED
@@ -65,7 +65,7 @@ Files::Style.delete(path)
|
|
65
65
|
## Update Style
|
66
66
|
|
67
67
|
```
|
68
|
-
style = Files::Style.
|
68
|
+
style = Files::Style.find(path)
|
69
69
|
|
70
70
|
style.update(
|
71
71
|
file: "file"
|
@@ -83,7 +83,7 @@ style.update(
|
|
83
83
|
## Delete Style
|
84
84
|
|
85
85
|
```
|
86
|
-
style = Files::Style.
|
86
|
+
style = Files::Style.find(path)
|
87
87
|
|
88
88
|
style.delete
|
89
89
|
```
|
data/docs/user.md
CHANGED
@@ -433,7 +433,7 @@ Files::User.delete(id)
|
|
433
433
|
## Unlock user who has been locked out due to failed logins
|
434
434
|
|
435
435
|
```
|
436
|
-
user = Files::User.
|
436
|
+
user = Files::User.find(id)
|
437
437
|
|
438
438
|
user.unlock
|
439
439
|
```
|
@@ -448,7 +448,7 @@ user.unlock
|
|
448
448
|
## Resend user welcome email
|
449
449
|
|
450
450
|
```
|
451
|
-
user = Files::User.
|
451
|
+
user = Files::User.find(id)
|
452
452
|
|
453
453
|
user.resend_welcome_email
|
454
454
|
```
|
@@ -463,7 +463,7 @@ user.resend_welcome_email
|
|
463
463
|
## Trigger 2FA Reset process for user who has lost access to their existing 2FA methods
|
464
464
|
|
465
465
|
```
|
466
|
-
user = Files::User.
|
466
|
+
user = Files::User.find(id)
|
467
467
|
|
468
468
|
user.user_2fa_reset
|
469
469
|
```
|
@@ -478,7 +478,7 @@ user.user_2fa_reset
|
|
478
478
|
## Update User
|
479
479
|
|
480
480
|
```
|
481
|
-
user = Files::User.
|
481
|
+
user = Files::User.find(id)
|
482
482
|
|
483
483
|
user.update(
|
484
484
|
avatar_delete: true,
|
@@ -577,7 +577,7 @@ user.update(
|
|
577
577
|
## Delete User
|
578
578
|
|
579
579
|
```
|
580
|
-
user = Files::User.
|
580
|
+
user = Files::User.find(id)
|
581
581
|
|
582
582
|
user.delete
|
583
583
|
```
|
data/docs/user_request.md
CHANGED
@@ -72,7 +72,7 @@ module Files
|
|
72
72
|
@attributes[:value] = value
|
73
73
|
end
|
74
74
|
|
75
|
-
# boolean - If true, the parent folder's behavior will be disabled for this folder.
|
75
|
+
# boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
|
76
76
|
def disable_parent_folder_behavior
|
77
77
|
@attributes[:disable_parent_folder_behavior]
|
78
78
|
end
|
@@ -111,7 +111,7 @@ module Files
|
|
111
111
|
# Parameters:
|
112
112
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
113
113
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
114
|
-
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
114
|
+
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
|
115
115
|
# recursive - boolean - Is behavior recursive?
|
116
116
|
# name - string - Name for this behavior.
|
117
117
|
# description - string - Description for this behavior.
|
@@ -227,7 +227,7 @@ module Files
|
|
227
227
|
# Parameters:
|
228
228
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
229
229
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
230
|
-
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
230
|
+
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
|
231
231
|
# recursive - boolean - Is behavior recursive?
|
232
232
|
# name - string - Name for this behavior.
|
233
233
|
# description - string - Description for this behavior.
|
@@ -269,7 +269,7 @@ module Files
|
|
269
269
|
# Parameters:
|
270
270
|
# value - string - The value of the folder behavior. Can be an integer, array, or hash depending on the type of folder behavior. See The Behavior Types section for example values for each type of behavior.
|
271
271
|
# attachment_file - file - Certain behaviors may require a file, for instance, the "watermark" behavior requires a watermark image
|
272
|
-
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder.
|
272
|
+
# disable_parent_folder_behavior - boolean - If true, the parent folder's behavior will be disabled for this folder and its children.
|
273
273
|
# recursive - boolean - Is behavior recursive?
|
274
274
|
# name - string - Name for this behavior.
|
275
275
|
# description - string - Description for this behavior.
|
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.83
|
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-05-
|
11
|
+
date: 2024-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|