bmx-event_hook_client_server 1.0.2 → 1.0.3
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: bc7d2f796a48e21c05195ba59b512492a0072d682588d5f44e128b61bf9a8206
|
4
|
+
data.tar.gz: 6676229df74ada7025cf459f045fc43108cebc54708631eba5abf55dd4962706
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f36d5257e1270870ec6db6160bf3c514b06c6c8195e7e409f1df75f8560064c557d34c417ac346c1bb15f1d71df833a1538b19fd2a48ee55617240134f7324a5
|
7
|
+
data.tar.gz: 10f9572b55a7af8853ac25b1026cb86eb991b6a6644f294c7851872d5c4a6f4bc685b11cb24c7b7c871ac3d463481bcefda19517d4d7228c88f76a6051b8cc95
|
@@ -109,7 +109,7 @@ module EventHookClientServer
|
|
109
109
|
def create_integration(params: {})
|
110
110
|
params = symbolize_keys(params)
|
111
111
|
params.transmute(EventHookClientServer::Grpc::StructEncoder,
|
112
|
-
%I[
|
112
|
+
%I[configuration parmas])
|
113
113
|
|
114
114
|
request = V1::Messages::IntegrationCreateRequest.new(input: params)
|
115
115
|
|
@@ -126,7 +126,7 @@ module EventHookClientServer
|
|
126
126
|
def update_integration(id:, params: {})
|
127
127
|
params = symbolize_keys(params)
|
128
128
|
params.transmute(EventHookClientServer::Grpc::StructEncoder,
|
129
|
-
%I[
|
129
|
+
%I[configuration parmas])
|
130
130
|
|
131
131
|
request = V1::Messages::IntegrationUpdateRequest.new(id: id.to_s,
|
132
132
|
input: params)
|
@@ -167,7 +167,7 @@ module EventHookClientServer
|
|
167
167
|
end
|
168
168
|
|
169
169
|
def symbolize_keys(hash)
|
170
|
-
JSON.parse(hash.to_json,
|
170
|
+
JSON.parse(hash.to_json, symbolize_names: true)
|
171
171
|
end
|
172
172
|
end
|
173
173
|
end
|