files.com 1.1.6 → 1.1.7

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: 7d204d36cb4681395bf61b23e0c9d73d33827e4c04211334b7cd0b57633f5029
4
- data.tar.gz: ab71996f578fcb8249c2d2d36888d3202889a6793cb5a90242012627e8845943
3
+ metadata.gz: '045895df933d7ee7e70af3e54d72f8ff2a3a26c2dff685e793f3ebd7852af77b'
4
+ data.tar.gz: 195b79c751211a1e8ba022f646e2b01c1e4e7454d0c181c78c1e93dffa26e92f
5
5
  SHA512:
6
- metadata.gz: dbb4c50ed59def6332dac58512c5732dc0beab6f19d2d9e87355736566321af92d55b33667461430d8a3d0c0337b40b73bffc8d5fdd076f967061ff2a9874511
7
- data.tar.gz: 02c8ebf097990aa18dc3d05be9e97011a385b95611f752979b46641f852b1429716358b8853583355a58a9a58619788eb590a2c04de5c6c5f5af79fc55c714b9
6
+ metadata.gz: 3fae2012ac5edf7d114345c30009ea24e431018b5e3836e3e64d92054b7141829f0d1dee59b1120a65ea1d70650c95f895a05a3428042e38b8bb0f9d860689bc
7
+ data.tar.gz: 57751fea98faea1a0c1e38bf49f92529a247b420549ad081cde7174066bd5d2f4bd6e32228722f4f4d35b58ab579083940a93ef06ee3443a39dbacc3d9cd0576
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.6
1
+ 1.1.7
data/docs/api_key.md CHANGED
@@ -12,7 +12,6 @@
12
12
  "key": "[key]",
13
13
  "last_use_at": "2000-01-01T01:00:00Z",
14
14
  "name": "My Main API Key",
15
- "path": "shared/docs",
16
15
  "permission_set": "full",
17
16
  "platform": "win32",
18
17
  "url": "example",
@@ -28,11 +27,11 @@
28
27
  * `key` (string): API Key actual key string
29
28
  * `last_use_at` (date-time): API Key last used - note this value is only updated once per 3 hour period, so the 'actual' time of last use may be up to 3 hours later than this timestamp.
30
29
  * `name` (string): Internal name for the API Key. For your use.
31
- * `path` (string): Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
32
30
  * `permission_set` (string): Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
33
31
  * `platform` (string): If this API key represents a Desktop app, what platform was it created on?
34
32
  * `url` (string): URL for API host.
35
33
  * `user_id` (int64): User ID for the owner of this API Key. May be blank for Site-wide API Keys.
34
+ * `path` (string): Folder path restriction for this api key.
36
35
 
37
36
 
38
37
  ---
@@ -77,15 +77,6 @@ module Files
77
77
  @attributes[:name] = value
78
78
  end
79
79
 
80
- # string - Folder path restriction for this api key. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
81
- def path
82
- @attributes[:path]
83
- end
84
-
85
- def path=(value)
86
- @attributes[:path] = value
87
- end
88
-
89
80
  # string - Permissions for this API Key. Keys with the `desktop_app` permission set only have the ability to do the functions provided in our Desktop App (File and Share Link operations). Additional permission sets may become available in the future, such as for a Site Admin to give a key with no administrator privileges. If you have ideas for permission sets, please let us know.
90
81
  def permission_set
91
82
  @attributes[:permission_set]
@@ -122,6 +113,15 @@ module Files
122
113
  @attributes[:user_id] = value
123
114
  end
124
115
 
116
+ # string - Folder path restriction for this api key.
117
+ def path
118
+ @attributes[:path]
119
+ end
120
+
121
+ def path=(value)
122
+ @attributes[:path] = value
123
+ end
124
+
125
125
  # Parameters:
126
126
  # name - string - Internal name for the API Key. For your use.
127
127
  # description - string - User-supplied description of API key.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.6"
4
+ VERSION = "1.1.7"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: files.com
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com