files.com 1.0.323 → 1.0.324
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae098e035e6d7a724dfb533d77eef6f1c616b8e5d006c0fcb0505bf9c7805d7
|
4
|
+
data.tar.gz: 56785c22138b850d600f7ca08186b4545786b92810cb00f037518f37959c7ec5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cca9d6414bbf4bc4d6f7f92c0feed8ae6930cb82048c4401eb287623cc72895d7a1c89383094d4a55c8a6b21d3f60b7568bd765fdb1bccf4e02019d1dc732300
|
7
|
+
data.tar.gz: bb79bea25fed0e1aa3f756cff02591ecefb0dcdb8c8243ae98c8b0c619a3a42b21d3fbc9f52a8d2b2954bfa2804a9df012216b240c4834f8e1ec811d3ce78c70
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.324
|
data/docs/remote_server.md
CHANGED
@@ -274,7 +274,8 @@ Files::RemoteServer.configuration_file(id,
|
|
274
274
|
config_version: "example",
|
275
275
|
private_key: "example",
|
276
276
|
public_key: "example",
|
277
|
-
server_host_key: "example"
|
277
|
+
server_host_key: "example",
|
278
|
+
subdomain: "example"
|
278
279
|
)
|
279
280
|
```
|
280
281
|
|
@@ -291,6 +292,7 @@ Files::RemoteServer.configuration_file(id,
|
|
291
292
|
* `private_key` (string): private key
|
292
293
|
* `public_key` (string): public key
|
293
294
|
* `server_host_key` (string):
|
295
|
+
* `subdomain` (string):
|
294
296
|
|
295
297
|
|
296
298
|
---
|
@@ -426,7 +428,8 @@ remote_server.configuration_file(
|
|
426
428
|
config_version: "example",
|
427
429
|
private_key: "example",
|
428
430
|
public_key: "example",
|
429
|
-
server_host_key: "example"
|
431
|
+
server_host_key: "example",
|
432
|
+
subdomain: "example"
|
430
433
|
)
|
431
434
|
```
|
432
435
|
|
@@ -443,6 +446,7 @@ remote_server.configuration_file(
|
|
443
446
|
* `private_key` (string): private key
|
444
447
|
* `public_key` (string): public key
|
445
448
|
* `server_host_key` (string):
|
449
|
+
* `subdomain` (string):
|
446
450
|
|
447
451
|
|
448
452
|
---
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"private_key": "example",
|
15
15
|
"status": "example",
|
16
16
|
"config_version": "example",
|
17
|
-
"server_host_key": "example"
|
17
|
+
"server_host_key": "example",
|
18
|
+
"subdomain": "example"
|
18
19
|
}
|
19
20
|
```
|
20
21
|
|
@@ -29,3 +30,4 @@
|
|
29
30
|
* `status` (string): either running or shutdown
|
30
31
|
* `config_version` (string): agent config version
|
31
32
|
* `server_host_key` (string):
|
33
|
+
* `subdomain` (string):
|
@@ -562,6 +562,7 @@ module Files
|
|
562
562
|
# private_key - string - private key
|
563
563
|
# public_key - string - public key
|
564
564
|
# server_host_key - string
|
565
|
+
# subdomain - string
|
565
566
|
def configuration_file(params = {})
|
566
567
|
params ||= {}
|
567
568
|
params[:id] = @attributes[:id]
|
@@ -577,6 +578,7 @@ module Files
|
|
577
578
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
578
579
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
579
580
|
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
581
|
+
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
580
582
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
581
583
|
|
582
584
|
Api.send_request("/remote_servers/#{@attributes[:id]}/configuration_file", :post, params, @options)
|
@@ -878,6 +880,7 @@ module Files
|
|
878
880
|
# private_key - string - private key
|
879
881
|
# public_key - string - public key
|
880
882
|
# server_host_key - string
|
883
|
+
# subdomain - string
|
881
884
|
def self.configuration_file(id, params = {}, options = {})
|
882
885
|
params ||= {}
|
883
886
|
params[:id] = id
|
@@ -892,6 +895,7 @@ module Files
|
|
892
895
|
raise InvalidParameterError.new("Bad parameter: private_key must be an String") if params[:private_key] and !params[:private_key].is_a?(String)
|
893
896
|
raise InvalidParameterError.new("Bad parameter: public_key must be an String") if params[:public_key] and !params[:public_key].is_a?(String)
|
894
897
|
raise InvalidParameterError.new("Bad parameter: server_host_key must be an String") if params[:server_host_key] and !params[:server_host_key].is_a?(String)
|
898
|
+
raise InvalidParameterError.new("Bad parameter: subdomain must be an String") if params[:subdomain] and !params[:subdomain].is_a?(String)
|
895
899
|
raise MissingParameterError.new("Parameter missing: id") unless params[:id]
|
896
900
|
|
897
901
|
response, options = Api.send_request("/remote_servers/#{params[:id]}/configuration_file", :post, params, options)
|
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.324
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- files.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|