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