files.com 1.0.17 → 1.0.18

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: 04423a3de6bfbfe3477fe46d18c3d9e8ef07eff99d848689d5f918adb36f4b6b
4
- data.tar.gz: f4b4a3ec19dc7c7d767d6f0d4b0df16b2f8a06add70dbf7f9a189f9251c4542c
3
+ metadata.gz: 7a7c6d343dff817b2aff83cf4880273792e3ef69f5dd408279e5c903af3cccef
4
+ data.tar.gz: 15f626faf8002b26a2b654849c37b2d468b537ecbf5a3b9dc6e7b369192c85d2
5
5
  SHA512:
6
- metadata.gz: 302d85e9814224c3f75ef3a44affaeeb1be13557f28a2b414896e11a3c299963127211ac34b2e1bc0ee76d199cec3e35f6c39a620efb958eac9d79d4cc6b1c52
7
- data.tar.gz: a081b0527dbd36c7f5265e2347bf468e23b23876867af6fe81058c311b3800347d76ac721fdfce4bd5659c50565376d934b190c4e259ee4edd384ff21af8b7fa
6
+ metadata.gz: 823798f23120828e1fc65240d3e6590d2d4bd30388e3345169bfe39a4fc4106d9110dcbd1c7a660b2cfb9702ae6dc2a944cb711911a1b8db853d342aa294fab4
7
+ data.tar.gz: ed7c4035702f85e9b51c8a79a708c3121cb292f3512a5ac46fb583caf6587cb3a792fbe0ad99f812d1123e222c1adb7b6c488fbb56f561744ff394e36dc601c5
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.17
1
+ 1.0.18
@@ -5,6 +5,7 @@
5
5
  ```
6
6
  {
7
7
  "id": 1,
8
+ "authentication_method": "password",
8
9
  "hostname": "remote-server.com",
9
10
  "name": "My Remote server",
10
11
  "port": 1,
@@ -18,6 +19,7 @@
18
19
  ```
19
20
 
20
21
  * `id` (int64): Remote server ID
22
+ * `authentication_method` (string): Type of authentication method
21
23
  * `hostname` (string): Hostname or IP address
22
24
  * `name` (string): Internal name for your reference
23
25
  * `port` (int64): Port for remote server. Not needed for S3.
@@ -18,6 +18,15 @@ module Files
18
18
  @attributes[:id] = value
19
19
  end
20
20
 
21
+ # string - Type of authentication method
22
+ def authentication_method
23
+ @attributes[:authentication_method]
24
+ end
25
+
26
+ def authentication_method=(value)
27
+ @attributes[:authentication_method] = value
28
+ end
29
+
21
30
  # string - Hostname or IP address
22
31
  def hostname
23
32
  @attributes[:hostname]
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.17
4
+ version: 1.0.18
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-01-26 00:00:00.000000000 Z
11
+ date: 2020-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday