bullet_train-outgoing_webhooks 1.2.16 → 1.2.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v1/webhooks/outgoing/endpoints_controller.rb +3 -1
- data/app/controllers/api/v1/webhooks/outgoing/events_controller.rb +3 -1
- data/app/views/api/v1/webhooks/outgoing/endpoints/_endpoint.json.jbuilder +1 -1
- data/lib/bullet_train/outgoing_webhooks/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a62f69f288219910ef9fdcd3e61a6e8ca8d933fc1d0eb80ac90b267bfd7f2e9
|
4
|
+
data.tar.gz: 77680cfde7facb03a4a60b2e1e1362f9409bd0ac62e1be33eb00df5ed27330f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6881b9704e7c2feb53e4359348bed4f5d75891ada1073d42792f7ba239806c7b213d63693885d013ab8e472c6a5550053e749f36fd03e176379b6309cc61d050
|
7
|
+
data.tar.gz: 5f901322889f2cdced731c07bcb7175492f86d8c05e72e5399941cd9397d88de78b5070122b99f812ab0332ad294452ca60dab3bc85313e93de7c1d110baa97d
|
@@ -1,5 +1,7 @@
|
|
1
1
|
class Api::V1::Webhooks::Outgoing::EndpointsController < Api::V1::ApplicationController
|
2
|
-
account_load_and_authorize_resource :endpoint,
|
2
|
+
account_load_and_authorize_resource :endpoint,
|
3
|
+
through: BulletTrain::OutgoingWebhooks.parent_association,
|
4
|
+
through_association: :webhooks_outgoing_endpoints
|
3
5
|
|
4
6
|
# GET /api/v1/teams/:team_id/webhooks/outgoing/endpoints
|
5
7
|
def index
|
@@ -1,5 +1,7 @@
|
|
1
1
|
class Api::V1::Webhooks::Outgoing::EventsController < Api::V1::ApplicationController
|
2
|
-
account_load_and_authorize_resource :event,
|
2
|
+
account_load_and_authorize_resource :event,
|
3
|
+
through: BulletTrain::OutgoingWebhooks.parent_association,
|
4
|
+
through_association: :webhooks_outgoing_events
|
3
5
|
|
4
6
|
# GET /api/v1/teams/:team_id/webhooks/outgoing/events
|
5
7
|
def index
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-outgoing_webhooks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|