civo 1.0.7 → 1.0.8
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/webhook.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: 67ececf913a2d42663e851e7c51ae0398a1ea292
|
4
|
+
data.tar.gz: 900d38d3f5bd271dfa345492eda30bf3fec3c6d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ccb2c3adf80d18e2a8ca404afd4928e8c9721b403cb2712aa415baffdf3d78e0ee0eee5cb8d1ada548b4e40be7147f70b73a115f0f9a2cc619cb872721d4944
|
7
|
+
data.tar.gz: edf3641b2a10d590b75e2ac2c778192c970e69f64bb037583a066d04e06158442e81086ceee934bb7f778e28c288e41f75bcc50f7414689e3464b803da0892a6
|
data/app/models/civo/webhook.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Civo
|
2
2
|
class Webhook < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "1"}/webhooks"
|
4
|
+
get :events, "/v#{ENV["CIVO_API_VERSION"] || "1"}/webhooks/events"
|
4
5
|
put :save, "/v#{ENV["CIVO_API_VERSION"] || "1"}/webhooks/:id"
|
5
6
|
post :test, "/v#{ENV["CIVO_API_VERSION"] || "1"}/webhooks/:id/test"
|
6
7
|
post :create, "/v#{ENV["CIVO_API_VERSION"] || "1"}/webhooks", required: [:name, :url]
|
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.0.
|
4
|
+
version: 1.0.8
|
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-11-
|
11
|
+
date: 2017-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|