files.com 1.1.588 → 1.1.589

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 81eea7551d3bfef17ea604ce002190979b9e338c0747d2efb9984f6a66df7a48
4
- data.tar.gz: 6f2bd73b215b693c698e3b22a604d42810834ea8f486d30c04f5f583a431a735
3
+ metadata.gz: c425bc08860abfce19896c570e9839ac0837c7cde03bacae445601d44af224b1
4
+ data.tar.gz: b67fd865e85e6ca6c725167a0074518434f3f8cef2770490f76a3ec86bce057f
5
5
  SHA512:
6
- metadata.gz: 9dfcb4da18bbb2b9f7b36b40ca1e8d4abe25d7c0b3f21742c99763a03bfd8a83669ab8602f2577662c20cdd80a6a80f70e7abed8b944729380700939efb8a1c0
7
- data.tar.gz: 58343a84d0a72610a9384bf8fc9dba57e7c9e7770fc26798a0b2e294a52396196033456d4b44bcb3f55b10edc3bd0d9513233c4a44d6bcff4f568f00730ee53f
6
+ metadata.gz: 22cde396547b278b162050d4db6439f86e320be5e23c8a61c82a7039d15b2680e61a3b9346fa438ba1bb2df2188dbbcf4f9bcce6644883afe503ff1ebe3fd315
7
+ data.tar.gz: 7ad317c46635f6b082ad07323a4790fbef882eb328b4fef38e38ec79d989fae715daab041ba829e0b5713a6acae7f947342f8fd4c5470f88312fc0cd8fd84b61
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.588
1
+ 1.1.589
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.588"
4
+ VERSION = "1.1.589"
5
5
  end
data/lib/files.com.rb CHANGED
@@ -111,7 +111,6 @@ require "files.com/models/payment"
111
111
  require "files.com/models/payment_line_item"
112
112
  require "files.com/models/permission"
113
113
  require "files.com/models/preview"
114
- require "files.com/models/priority"
115
114
  require "files.com/models/project"
116
115
  require "files.com/models/public_hosting_request_log"
117
116
  require "files.com/models/public_ip_address"
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.588
4
+ version: 1.1.589
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
@@ -250,7 +250,6 @@ files:
250
250
  - docs/payment_line_item.md
251
251
  - docs/permission.md
252
252
  - docs/preview.md
253
- - docs/priority.md
254
253
  - docs/project.md
255
254
  - docs/public_hosting_request_log.md
256
255
  - docs/public_ip_address.md
@@ -377,7 +376,6 @@ files:
377
376
  - lib/files.com/models/payment_line_item.rb
378
377
  - lib/files.com/models/permission.rb
379
378
  - lib/files.com/models/preview.rb
380
- - lib/files.com/models/priority.rb
381
379
  - lib/files.com/models/project.rb
382
380
  - lib/files.com/models/public_hosting_request_log.rb
383
381
  - lib/files.com/models/public_ip_address.rb
data/docs/priority.md DELETED
@@ -1,28 +0,0 @@
1
- # Priority
2
-
3
- ## Example Priority Object
4
-
5
- ```
6
- {
7
- "path": "foo/bar",
8
- "color": "pink"
9
- }
10
- ```
11
-
12
- * `path` (string): The path corresponding to the priority color. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
13
- * `color` (string): The priority color
14
-
15
-
16
- ---
17
-
18
- ## List Priorities
19
-
20
- ```
21
- Files::Priority.list(path)
22
- ```
23
-
24
- ### Parameters
25
-
26
- * `cursor` (string): Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
27
- * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
28
- * `path` (string): Required - The path to query for priorities
@@ -1,43 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class Priority
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - The path corresponding to the priority color. This must be slash-delimited, but it must neither start nor end with a slash. Maximum of 5000 characters.
13
- def path
14
- @attributes[:path]
15
- end
16
-
17
- # string - The priority color
18
- def color
19
- @attributes[:color]
20
- end
21
-
22
- # Parameters:
23
- # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
24
- # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
25
- # path (required) - string - The path to query for priorities
26
- def self.list(path, params = {}, options = {})
27
- params ||= {}
28
- params[:path] = path
29
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
30
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
31
- raise InvalidParameterError.new("Bad parameter: path must be an String") if params[:path] and !params[:path].is_a?(String)
32
- raise MissingParameterError.new("Parameter missing: path") unless params[:path]
33
-
34
- List.new(Priority, params) do
35
- Api.send_request("/priorities", :get, params, options)
36
- end
37
- end
38
-
39
- def self.all(path, params = {}, options = {})
40
- list(path, params, options)
41
- end
42
- end
43
- end