civo 1.5.11 → 1.5.12

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: d01e195bc77b18891da0565b6129927bcb72b00059e84e3986ea15faec23516e
4
- data.tar.gz: 81b65c0b2ed67a97dee82952167ed8ad1bb0c592fa473b8bf8b742eda693956d
3
+ metadata.gz: 26dd006c0211280475f3f52d07e115c2518f621891a66b8caaa753367ded393f
4
+ data.tar.gz: f0130f7c8fb25d09f7ccf10f428e736eaabdf82a57a109222029c218dce5c3bf
5
5
  SHA512:
6
- metadata.gz: 48af60efb75408b4fafc322523aed6dc7c0ce2b0e1c9a806997250321214c17cd6c35e9020df1f53a0165aa1c934e67cb0b028a0312caf260d61332d076ddd4d
7
- data.tar.gz: 80cea97b25f678304d2110115e4882008124f11ffc9eeb510465ecc8b188e1cffb27e9be45319fa50931c53d0680e0e519905605e723c331979bd21b65dce0f4
6
+ metadata.gz: 60325a80be0279384bd8ca7724e39d12247d34146ce3f7af8bbb443ba801832caeb945bff0c59f2bc74fbd617c7be15466e787eccadf9bb2d08322be6e9f729f
7
+ data.tar.gz: 0e373baaf98bb6dd0598930e9a8e037ca187a47c0ca0353b7743aecfc402ba904b61dd4a52f0cff938b74ac4f15cb43b9afb8bef5a71721631982ce969259c31
@@ -0,0 +1,13 @@
1
+ module Civo
2
+ class ObjectStore < Base
3
+ get :all, "/v2/objectstores", requires: [:region]
4
+ get :find, "/v2/objectstores/:id", requires: [:id, :region]
5
+ post :create, "/v2/objectstores", requires: [:name, :max_size_gb, :region], defaults: {max_size_gb: 500}
6
+ put :update, "/v2/objectstores/:id", requires: [:id, :region]
7
+ delete :remove, "/v2/objectstores/:id", requires: [:id, :region]
8
+
9
+ def to_partial_path
10
+ "civo/object_store"
11
+ end
12
+ end
13
+ end
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.5.11"
2
+ VERSION = "1.5.12"
3
3
  end
data/lib/civo.rb CHANGED
@@ -27,6 +27,7 @@ require_relative "../app/models/civo/ip"
27
27
  require_relative "../app/models/civo/kpi"
28
28
  require_relative "../app/models/civo/load_balancer"
29
29
  require_relative "../app/models/civo/network"
30
+ require_relative "../app/models/civo/object_store"
30
31
  require_relative "../app/models/civo/organisation"
31
32
  require_relative "../app/models/civo/quota"
32
33
  require_relative "../app/models/civo/region"
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.11
4
+ version: 1.5.12
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-07-18 00:00:00.000000000 Z
11
+ date: 2022-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -94,6 +94,7 @@ files:
94
94
  - app/models/civo/kubernetes.rb
95
95
  - app/models/civo/load_balancer.rb
96
96
  - app/models/civo/network.rb
97
+ - app/models/civo/object_store.rb
97
98
  - app/models/civo/organisation.rb
98
99
  - app/models/civo/permission.rb
99
100
  - app/models/civo/quota.rb