civo 0.6.9 → 0.7.0
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/account.rb +1 -0
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13cfee1569e6c57cb618cb2d4e60f96a1fe0e420
|
4
|
+
data.tar.gz: 1ec95e383d11780794c463d49bd18347a6b04e05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 649059e2615581e7339407dd173ec0458c686ab82ede2c849b99dd4f298274d17c711b38f39c22382ba9ec1fe59f586cd9ccd26bd69a80d1eb038e8dacc1f443
|
7
|
+
data.tar.gz: d3311c61f0f4f6ea753189d10d7eb98ec39af3fe55a61aca92a42c534d45410bb0386b7495f69170fcbf7c9aef54dbb025b2d89148309bd8ac8c1472f5d6b285
|
data/app/models/civo/account.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Civo
|
2
2
|
class Account < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
4
|
+
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id", requires: [:id]
|
4
5
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts", requires: [:name]
|
5
6
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
6
7
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
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: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|