civo 1.0.3 → 1.0.4

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
  SHA1:
3
- metadata.gz: d9cb5572227e1011f73338a2be6b773b4c3f1e1f
4
- data.tar.gz: fc75fb2c51d0b12bf8ca1cc7f28c0aa6c63eebd8
3
+ metadata.gz: b125f39b38e60a5e55e7f3fa8253a332e7460224
4
+ data.tar.gz: c39104f22ed6560f8f0bf9226a3b955f0b8a9796
5
5
  SHA512:
6
- metadata.gz: bcfebd89a013fe8f37a7daa0b5c6e52bf4e9c108cfd91a71c3ce91351ca3779a67834a8b35bc6bb21f5a211f3ec3cd7cb52c2879b9724a6b8d1036e276b1e65b
7
- data.tar.gz: b4db93e30897e731d6eba69363019779d7544fd75c3f1da855bfbcb95ac98e5868c3b7c056354aca24e0233749acf06a9695a4b206f7364a68f481a2a32c3798
6
+ metadata.gz: 0b15ed418708b01e6f98c13d4c42dedecccaba23841955beb56c478d7328f2bae6f39027497f9bbeab504c91d62420a14299da26b44c155341d4dfa90a7618c5
7
+ data.tar.gz: c095c7e933ae376ab253757a100f81dcf4e0d880469fad435453b4c7ffef5873a16997c053e5f770aa4d24e1558d89b3b58f94a9a60ab9f047f1882a6684472f
@@ -0,0 +1,5 @@
1
+ module Civo
2
+ class KPI < Base
3
+ get :stats, "/v#{ENV["CIVO_API_VERSION"] || "1"}/kpi"
4
+ end
5
+ end
data/lib/civo.rb CHANGED
@@ -18,6 +18,7 @@ module Civo
18
18
  autoload :FirewallRule, "#{CIVO_ENGINE_ROOT}/app/models/civo/firewall_rule"
19
19
  autoload :Instance, "#{CIVO_ENGINE_ROOT}/app/models/civo/instance"
20
20
  autoload :Ip, "#{CIVO_ENGINE_ROOT}/app/models/civo/ip"
21
+ autoload :KPI, "#{CIVO_ENGINE_ROOT}/app/models/civo/kpi"
21
22
  autoload :Network, "#{CIVO_ENGINE_ROOT}/app/models/civo/network"
22
23
  autoload :Quota, "#{CIVO_ENGINE_ROOT}/app/models/civo/quota"
23
24
  autoload :Region, "#{CIVO_ENGINE_ROOT}/app/models/civo/region"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
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.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-29 00:00:00.000000000 Z
11
+ date: 2017-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -86,6 +86,7 @@ files:
86
86
  - app/models/civo/firewall_rule.rb
87
87
  - app/models/civo/instance.rb
88
88
  - app/models/civo/ip.rb
89
+ - app/models/civo/kpi.rb
89
90
  - app/models/civo/load_balancer.rb
90
91
  - app/models/civo/network.rb
91
92
  - app/models/civo/quota.rb