files.com 1.0.302 → 1.0.303

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: 496cd9b7ad247912026b953ce566db761e510116b2e727509877f28cbb08ae42
4
- data.tar.gz: c4be723d45a6d3ea682002fe0edde74332614186cde843db52eee40b81af268b
3
+ metadata.gz: 9eb227d267506d2473579e384fa0a20564662f27e31c0741238f3c70275529e0
4
+ data.tar.gz: e20e3aba839ac51e238dde9a2bedcfa6e8a390ddba9e3ae8890bdb0883198c2f
5
5
  SHA512:
6
- metadata.gz: aed6145b17a2968d41f91a20527c999c78dea843770a97dd903d81fe74dd0fcb2dec41e8aea2bf47f2d03359a83d91de6e792aed6ad79026b57ec362571d4573
7
- data.tar.gz: bbb3043bd36dcb9c2e82b9ab6a8b183ec135748093f0e51148e58d55f9aa2c6f0cdff8eaebe824ac39bad4fd79659445fb87b1cd42fcd66749458c433aa9bd08
6
+ metadata.gz: 747f5ef9d3267b8fd2b6e9ae6825a552b94d195b126b8cea9429d5fcf376c90b7c0e01df4bf31ed6df0c8e87b300a42edb4f8bbd5079f1da926d4b91f304b9ba
7
+ data.tar.gz: 9a0e0dd4c0098d2d74801ae7fdcf6d1faba951e22068d7b5ca7187716e1031773e747c521841fb0525f3bd5b65a436876fc2ccea3bf8a6f86905822603d920c2
data/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.302
1
+ 1.0.303
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 ExaVault IP addresses
41
+
42
+ ```
43
+ Files::IpAddress.get_exavault_reserved(
44
+ per_page: 1
45
+ )
46
+ ```
47
+
48
+ ### Parameters
49
+
50
+ * `cursor` (string): Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
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 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. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
50
+ # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
51
+ def self.get_exavault_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/exavault-reserved", :get, params, options)
57
+ end
58
+ end
59
+
48
60
  # Parameters:
49
61
  # cursor - string - Used for pagination. Send a cursor value to resume an existing list from the point at which you left off. Get a cursor from an existing list via either the X-Files-Cursor-Next header or the X-Files-Cursor-Prev header.
50
62
  # per_page - int64 - Number of records to show per page. (Max: 10,000, 1,000 or less is recommended).
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.302
4
+ version: 1.0.303
5
5
  platform: ruby
6
6
  authors:
7
7
  - files.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable