civo 1.1.9 → 1.1.10
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/blueprint.rb +14 -0
- data/lib/civo/version.rb +1 -1
- 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: 53ea0b5757f14e2cbdef648a20cc050a13fce8a29775590d26ec05110669b088
|
4
|
+
data.tar.gz: 467a3e3a2a1ddf28ffc74bc0f1116e0f1003443a8458d1bcf57d91a6bfa0e702
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93bd4c19aab82a61e08bdb3843fd9e80f670d5ff946e2dd4dbfed18c2084a16b2b0af4b4b84a1dd0cd1e07ab1ecd10e679ebe95f1f9157d85048044482450fac
|
7
|
+
data.tar.gz: 4560d9de98101ab4216ef6e395b17e23a91e6f3638b57667d86f15255b89dec15dae84a12779e01bbbb9ae157c56b472a105babab573215b27bbfc2ef53fccc7
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Civo
|
2
|
+
class Blueprint < Base
|
3
|
+
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints"
|
4
|
+
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints", requires: [:name, :dsl_content, :template_id]
|
5
|
+
put :update, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id", requires: [:id]
|
6
|
+
put :start, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/start", requires: [:id]
|
7
|
+
put :stop, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/stop", requires: [:id]
|
8
|
+
put :modify_template, "/v#{ENV["CIVO_API_VERSION"] || "1"}/blueprints/:id/template", requires: [:id, :checksum, :volume_id]
|
9
|
+
end
|
10
|
+
|
11
|
+
def to_partial_path
|
12
|
+
"civo/blueprint"
|
13
|
+
end
|
14
|
+
end
|
data/lib/civo/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|
@@ -79,6 +79,7 @@ files:
|
|
79
79
|
- app/models/civo/action.rb
|
80
80
|
- app/models/civo/audit_log.rb
|
81
81
|
- app/models/civo/base.rb
|
82
|
+
- app/models/civo/blueprint.rb
|
82
83
|
- app/models/civo/charge.rb
|
83
84
|
- app/models/civo/dns_domain.rb
|
84
85
|
- app/models/civo/dns_record.rb
|