files.com 1.0.302 → 1.0.303
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/ip_address.md +16 -0
- data/lib/files.com/models/ip_address.rb +12 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9eb227d267506d2473579e384fa0a20564662f27e31c0741238f3c70275529e0
|
4
|
+
data.tar.gz: e20e3aba839ac51e238dde9a2bedcfa6e8a390ddba9e3ae8890bdb0883198c2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 747f5ef9d3267b8fd2b6e9ae6825a552b94d195b126b8cea9429d5fcf376c90b7c0e01df4bf31ed6df0c8e87b300a42edb4f8bbd5079f1da926d4b91f304b9ba
|
7
|
+
data.tar.gz: 9a0e0dd4c0098d2d74801ae7fdcf6d1faba951e22068d7b5ca7187716e1031773e747c521841fb0525f3bd5b65a436876fc2ccea3bf8a6f86905822603d920c2
|
data/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
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.
|
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-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|