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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cbe7e16d3fe484e802e51b41141ed79efc5416feb2a4965f06b3b6439d4ee35
4
- data.tar.gz: f182d3f35d9c6b81448f17c3e95a798c2169f014257c055ad6bd276536922db1
3
+ metadata.gz: 53ea0b5757f14e2cbdef648a20cc050a13fce8a29775590d26ec05110669b088
4
+ data.tar.gz: 467a3e3a2a1ddf28ffc74bc0f1116e0f1003443a8458d1bcf57d91a6bfa0e702
5
5
  SHA512:
6
- metadata.gz: 471e9d9da3f0bd040ba61d55a899077fcbd2c2524883ce94398a6c40f6b270a9586c4de0c5b155e2ff99e8859995be1986d9403e380e9dcdb9fed4168104a067
7
- data.tar.gz: 2785e4240975ffb3e4e12d3642ae2b4adfbedfa0f9aecffad5be151f89fffbb2b66ade7501b77ff0e7cc7763f9248eaf8934d47544391a2f618bb811898d5c5b
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.1.9"
2
+ VERSION = "1.1.10"
3
3
  end
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.9
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-01 00:00:00.000000000 Z
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