files.com 1.0.165 → 1.0.166
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/remote_server.md +0 -8
- data/lib/files.com/models/remote_server.rb +0 -15
- 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: 2da325e9d1150ae1ef34a33f394d1e397750b4d11ebf538ff3ed38a26d896267
|
4
|
+
data.tar.gz: cefd6944825749652aad83230374f957b4fda3c19fa0b63fc1da7976557d6fc6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79a8bac49e15ba046e94bcf1d19f75f55a27ba410fa4acb4006faa7be5354224a4d6368629b923912e7ce78842e33a4b1d9fba096af6340bf15b1d77ded8523c
|
7
|
+
data.tar.gz: 571e00841bbee105c2f6ebdb397409aeb8372faaaa85bb4074eac73985ae6ae5558014b3bcecd77ff52f7f6fae748d5930ef04f1f8f104bc118ecdf73dc2a5d3
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.166
|
data/docs/remote_server.md
CHANGED
@@ -31,7 +31,6 @@
|
|
31
31
|
"auth_status": "in_setup",
|
32
32
|
"auth_account_name": "me@example.com",
|
33
33
|
"one_drive_account_type": "personal",
|
34
|
-
"sharepoint_hostname": "filescom.sharepoint.com",
|
35
34
|
"azure_blob_storage_account": "storage-account-name",
|
36
35
|
"azure_blob_storage_container": "container-name"
|
37
36
|
}
|
@@ -64,7 +63,6 @@
|
|
64
63
|
* `auth_status` (string): Either `in_setup` or `complete`
|
65
64
|
* `auth_account_name` (string): Describes the authorized account
|
66
65
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
67
|
-
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
68
66
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
69
67
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
70
68
|
* `aws_access_key` (string): AWS Access Key.
|
@@ -139,7 +137,6 @@ Files::RemoteServer.create(
|
|
139
137
|
rackspace_region: "dfw",
|
140
138
|
rackspace_container: "my-container",
|
141
139
|
one_drive_account_type: "personal",
|
142
|
-
sharepoint_hostname: "filescom.sharepoint.com",
|
143
140
|
azure_blob_storage_account: "storage-account-name",
|
144
141
|
azure_blob_storage_container: "container-name"
|
145
142
|
)
|
@@ -181,7 +178,6 @@ Files::RemoteServer.create(
|
|
181
178
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
182
179
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
183
180
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
184
|
-
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
185
181
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
186
182
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
187
183
|
|
@@ -214,7 +210,6 @@ Files::RemoteServer.update(id,
|
|
214
210
|
rackspace_region: "dfw",
|
215
211
|
rackspace_container: "my-container",
|
216
212
|
one_drive_account_type: "personal",
|
217
|
-
sharepoint_hostname: "filescom.sharepoint.com",
|
218
213
|
azure_blob_storage_account: "storage-account-name",
|
219
214
|
azure_blob_storage_container: "container-name"
|
220
215
|
)
|
@@ -257,7 +252,6 @@ Files::RemoteServer.update(id,
|
|
257
252
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
258
253
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
259
254
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
260
|
-
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
261
255
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
262
256
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
263
257
|
|
@@ -305,7 +299,6 @@ remote_server.update(
|
|
305
299
|
rackspace_region: "dfw",
|
306
300
|
rackspace_container: "my-container",
|
307
301
|
one_drive_account_type: "personal",
|
308
|
-
sharepoint_hostname: "filescom.sharepoint.com",
|
309
302
|
azure_blob_storage_account: "storage-account-name",
|
310
303
|
azure_blob_storage_container: "container-name"
|
311
304
|
)
|
@@ -348,7 +341,6 @@ remote_server.update(
|
|
348
341
|
* `rackspace_region` (string): Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
349
342
|
* `rackspace_container` (string): The name of the container (top level directory) where files will sync.
|
350
343
|
* `one_drive_account_type` (string): Either personal or business_other account types
|
351
|
-
* `sharepoint_hostname` (string): Cloud hosted sharepoint hostname
|
352
344
|
* `azure_blob_storage_account` (string): Azure Blob Storage Account name
|
353
345
|
* `azure_blob_storage_container` (string): Azure Blob Storage Container name
|
354
346
|
|
@@ -252,15 +252,6 @@ module Files
|
|
252
252
|
@attributes[:one_drive_account_type] = value
|
253
253
|
end
|
254
254
|
|
255
|
-
# string - Cloud hosted sharepoint hostname
|
256
|
-
def sharepoint_hostname
|
257
|
-
@attributes[:sharepoint_hostname]
|
258
|
-
end
|
259
|
-
|
260
|
-
def sharepoint_hostname=(value)
|
261
|
-
@attributes[:sharepoint_hostname] = value
|
262
|
-
end
|
263
|
-
|
264
255
|
# string - Azure Blob Storage Account name
|
265
256
|
def azure_blob_storage_account
|
266
257
|
@attributes[:azure_blob_storage_account]
|
@@ -431,7 +422,6 @@ module Files
|
|
431
422
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
432
423
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
433
424
|
# one_drive_account_type - string - Either personal or business_other account types
|
434
|
-
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
435
425
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
436
426
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
437
427
|
def update(params = {})
|
@@ -472,7 +462,6 @@ module Files
|
|
472
462
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
473
463
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
474
464
|
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
475
|
-
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
476
465
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
477
466
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
478
467
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
@@ -570,7 +559,6 @@ module Files
|
|
570
559
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
571
560
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
572
561
|
# one_drive_account_type - string - Either personal or business_other account types
|
573
|
-
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
574
562
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
575
563
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
576
564
|
def self.create(params = {}, options = {})
|
@@ -607,7 +595,6 @@ module Files
|
|
607
595
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
608
596
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
609
597
|
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
610
|
-
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
611
598
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
612
599
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
613
600
|
|
@@ -650,7 +637,6 @@ module Files
|
|
650
637
|
# rackspace_region - string - Three letter airport code for Rackspace region. See https://support.rackspace.com/how-to/about-regions/
|
651
638
|
# rackspace_container - string - The name of the container (top level directory) where files will sync.
|
652
639
|
# one_drive_account_type - string - Either personal or business_other account types
|
653
|
-
# sharepoint_hostname - string - Cloud hosted sharepoint hostname
|
654
640
|
# azure_blob_storage_account - string - Azure Blob Storage Account name
|
655
641
|
# azure_blob_storage_container - string - Azure Blob Storage Container name
|
656
642
|
def self.update(id, params = {}, options = {})
|
@@ -690,7 +676,6 @@ module Files
|
|
690
676
|
raise InvalidParameterError.new("Bad parameter: rackspace_region must be an String") if params.dig(:rackspace_region) and !params.dig(:rackspace_region).is_a?(String)
|
691
677
|
raise InvalidParameterError.new("Bad parameter: rackspace_container must be an String") if params.dig(:rackspace_container) and !params.dig(:rackspace_container).is_a?(String)
|
692
678
|
raise InvalidParameterError.new("Bad parameter: one_drive_account_type must be an String") if params.dig(:one_drive_account_type) and !params.dig(:one_drive_account_type).is_a?(String)
|
693
|
-
raise InvalidParameterError.new("Bad parameter: sharepoint_hostname must be an String") if params.dig(:sharepoint_hostname) and !params.dig(:sharepoint_hostname).is_a?(String)
|
694
679
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_account must be an String") if params.dig(:azure_blob_storage_account) and !params.dig(:azure_blob_storage_account).is_a?(String)
|
695
680
|
raise InvalidParameterError.new("Bad parameter: azure_blob_storage_container must be an String") if params.dig(:azure_blob_storage_container) and !params.dig(:azure_blob_storage_container).is_a?(String)
|
696
681
|
raise MissingParameterError.new("Parameter missing: id") unless params.dig(:id)
|
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.
|
4
|
+
version: 1.0.166
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04-
|
11
|
+
date: 2021-04-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|