civo 0.7.9 → 0.8.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: 78c8919adeff7719263cd2fd180840399816fb6c
|
4
|
+
data.tar.gz: 18c1c3e97afe9b6cdaea0e9d01655730d4f3697f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24147b5156a902312ea04d340cfcafaa59a8f4e4cf8618e12e2583f8db9e096f5aeefdba83d20798f032ce83acc2037402ecaa21c731274c9aae2e7d10286cbd
|
7
|
+
data.tar.gz: a7d59734584376266ce72ada232341c2845fd56e50041b88087635c143c3786381a3f3dabda61343f4d21fd0c63fc4ec9ec8224d072b5401f6cdaae9e32a9f3d
|
data/app/models/civo/account.rb
CHANGED
@@ -2,6 +2,7 @@ module Civo
|
|
2
2
|
class Account < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id", requires: [:id]
|
5
|
+
get :stats, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:id/stags", requires: [:id]
|
5
6
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts", requires: [:name]
|
6
7
|
put :reset, "/v#{ENV["CIVO_API_VERSION"] || "1"}/accounts/:name", requires: [:name]
|
7
8
|
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.8.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:
|
11
|
+
date: 2017-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|