civo 1.5.10 → 1.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/reserved_ip.rb +14 -0
- data/lib/civo/version.rb +1 -1
- data/lib/civo.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d01e195bc77b18891da0565b6129927bcb72b00059e84e3986ea15faec23516e
|
4
|
+
data.tar.gz: 81b65c0b2ed67a97dee82952167ed8ad1bb0c592fa473b8bf8b742eda693956d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48af60efb75408b4fafc322523aed6dc7c0ce2b0e1c9a806997250321214c17cd6c35e9020df1f53a0165aa1c934e67cb0b028a0312caf260d61332d076ddd4d
|
7
|
+
data.tar.gz: 80cea97b25f678304d2110115e4882008124f11ffc9eeb510465ecc8b188e1cffb27e9be45319fa50931c53d0680e0e519905605e723c331979bd21b65dce0f4
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Civo
|
2
|
+
class ReservedIp < Base
|
3
|
+
get :all, "/v2/ips", requires: [:region]
|
4
|
+
get :find, "/v2/ips/:id", requires: [:id, :region]
|
5
|
+
post :create, "/v2/ips", requires: [:name, :region]
|
6
|
+
put :update, "/v2/ips/:id", requires: [:id, :region]
|
7
|
+
delete :remove, "/v2/ips/:id", requires: [:id, :region]
|
8
|
+
post :actions, "/v2/ips/:id/actions", requires: [:id, :region, :action]
|
9
|
+
|
10
|
+
def to_partial_path
|
11
|
+
"civo/ips"
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/civo/version.rb
CHANGED
data/lib/civo.rb
CHANGED
@@ -30,6 +30,7 @@ require_relative "../app/models/civo/network"
|
|
30
30
|
require_relative "../app/models/civo/organisation"
|
31
31
|
require_relative "../app/models/civo/quota"
|
32
32
|
require_relative "../app/models/civo/region"
|
33
|
+
require_relative "../app/models/civo/reserved_ip"
|
33
34
|
require_relative "../app/models/civo/role"
|
34
35
|
require_relative "../app/models/civo/size"
|
35
36
|
require_relative "../app/models/civo/snapshot"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -98,6 +98,7 @@ files:
|
|
98
98
|
- app/models/civo/permission.rb
|
99
99
|
- app/models/civo/quota.rb
|
100
100
|
- app/models/civo/region.rb
|
101
|
+
- app/models/civo/reserved_ip.rb
|
101
102
|
- app/models/civo/role.rb
|
102
103
|
- app/models/civo/size.rb
|
103
104
|
- app/models/civo/snapshot.rb
|