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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f319ccf87c742e7fc50e6c0f644a0aa4a95f8d28b183c84beb68c689a36bbd76
4
- data.tar.gz: b114272b6b4509e9d55031b7702e3975790c6e36c495c9edab6758bf6c614164
3
+ metadata.gz: d01e195bc77b18891da0565b6129927bcb72b00059e84e3986ea15faec23516e
4
+ data.tar.gz: 81b65c0b2ed67a97dee82952167ed8ad1bb0c592fa473b8bf8b742eda693956d
5
5
  SHA512:
6
- metadata.gz: 3ba54c1e9e018ac1cfe61346888e1b4224632d8f9fba204acccbd3128779f7f6f1b8a398bb3dbbf7d5351e841a551bdf7bcf96b7d81e32cdfbdffde9d1148775
7
- data.tar.gz: 875dd2fc96d6d139de761e0c0fac357a26cf6bb353ffbd8fb884c09566317cda257af3304f2161c2773dc29d4783f97455d6c76cfed46c812bf559b7648f9263
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.10"
2
+ VERSION = "1.5.11"
3
3
  end
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.10
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-05-16 00:00:00.000000000 Z
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