bmx-event_hook_client_server 1.0.1 → 1.0.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1509c6f750bd167722357b3df7ca92cff4f9476f11aa9d410820c7fababd7d3
|
4
|
+
data.tar.gz: bbb3750e08a45b50fccfff5ac238978d7e023774ecf99ec299b23f62da9b7e21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b03ed049191ccc9fb4e5f3f4948f11f289f8360d868612572c62b0c6f5c83d7ff8d1c049af610f684050d2af0a84beb7c71879de5d56c7ef3a4e21e8aef3e437
|
7
|
+
data.tar.gz: eeeb4f6dcde9dd60ef141495c16c39f3450e7daf3ed518dae5e4d5620d1771bc909d6c3ea9383c1cd45fad455d6eeb494b2895a84723794dd44412c7580d91ff
|
@@ -49,7 +49,7 @@ module EventHookClientServer
|
|
49
49
|
# FIND INTEGRATION FOR HEADERS
|
50
50
|
def find_integration_from_headers(headers: nil, cursor: nil)
|
51
51
|
request = V1::Messages::FindIntegrationsFromHeadersRequest.new(
|
52
|
-
headers: EventHookClientServer::
|
52
|
+
headers: EventHookClientServer::Grpc::StructEncoder.call(headers),
|
53
53
|
pagination: { cursor: cursor }
|
54
54
|
)
|
55
55
|
|
@@ -108,7 +108,7 @@ module EventHookClientServer
|
|
108
108
|
# CREATE
|
109
109
|
def create_integration(params: {})
|
110
110
|
params = symbolize_keys(params)
|
111
|
-
params.transmute(EventHookClientServer::
|
111
|
+
params.transmute(EventHookClientServer::Grpc::StructEncoder,
|
112
112
|
%I[config parmas])
|
113
113
|
|
114
114
|
request = V1::Messages::IntegrationCreateRequest.new(input: params)
|
@@ -125,7 +125,7 @@ module EventHookClientServer
|
|
125
125
|
# UPDATE
|
126
126
|
def update_integration(id:, params: {})
|
127
127
|
params = symbolize_keys(params)
|
128
|
-
params.transmute(EventHookClientServer::
|
128
|
+
params.transmute(EventHookClientServer::Grpc::StructEncoder,
|
129
129
|
%I[config parmas])
|
130
130
|
|
131
131
|
request = V1::Messages::IntegrationUpdateRequest.new(id: id.to_s,
|