files.com 1.1.16 → 1.1.17

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: 2c27af83dde141511c39b3f9f9b6d80d9faf50e281d5cdffd42c5654685bfb59
4
- data.tar.gz: 8259812e53e88d9d11c44e4032ed7160dba888536c65e7533d50b526eb0ae50e
3
+ metadata.gz: be2a6549dec5348828e42b06e9ac8d0b09d716a28c02041946424fbf50ddfe5e
4
+ data.tar.gz: c3f695cf4986f2c97e384f94253b9c41879dc0dbe7bd23c58fa51f781ef24e5c
5
5
  SHA512:
6
- metadata.gz: 5aa07f9005e36c7c004e57993168a14716a5d98777b2a81e4226ab27fabcc0496ccf16aa0595a266639bdc3057e2626bd820e0c818a0f24e09a965ecc20260f9
7
- data.tar.gz: b56015064e34e4b22236c32e22224bab5171b3dc29d211fff7743f7a46e36672ba28543bff11ee4aee41f9fcff96f9cbf1a991a39ea7737ec934a93a006694e6
6
+ metadata.gz: 77e4ef6a418d26927e41518685547204c7ecfa3243024a63fa25098374405c95c6ec3c061021eacbdac607f8dd9f8a9fce9022974440551998e04b574e358126
7
+ data.tar.gz: d5ca4d0526e3ca6f773d5cc167e30cbc65e8786e201d4e103f133e81fa42c8adc63a8d58a423da52d1bc9e557f9a0940821bcaab9fb7f6536c82d740f4779dd1
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.16
1
+ 1.1.17
data/docs/ip_address.md CHANGED
@@ -35,6 +35,22 @@ Files::IpAddress.list(
35
35
  * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
36
36
 
37
37
 
38
+ ---
39
+
40
+ ## List all possible public SmartFile IP addresses
41
+
42
+ ```
43
+ Files::IpAddress.get_smartfile_reserved(
44
+ per_page: 1
45
+ )
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ * `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.
51
+ * `per_page` (int64): Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
52
+
53
+
38
54
  ---
39
55
 
40
56
  ## List all possible public ExaVault IP addresses
@@ -45,6 +45,18 @@ module Files
45
45
  list(params, options)
46
46
  end
47
47
 
48
+ # Parameters:
49
+ # 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.
50
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
51
+ def self.get_smartfile_reserved(params = {}, options = {})
52
+ raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
53
+ raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
54
+
55
+ List.new(PublicIpAddress, params) do
56
+ Api.send_request("/ip_addresses/smartfile-reserved", :get, params, options)
57
+ end
58
+ end
59
+
48
60
  # Parameters:
49
61
  # 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.
50
62
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Files
4
- VERSION = "1.1.16"
4
+ VERSION = "1.1.17"
5
5
  end
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.1.16
4
+ version: 1.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable