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: 6efc8bee29cfcfd9391e5331900e30fc47676c0cb25be9f09142a6acc35924d1
4
- data.tar.gz: 714debdde3ca76fb171828d6f136225ab4772c793bb9b967741ffc47eb6d04d5
3
+ metadata.gz: f1509c6f750bd167722357b3df7ca92cff4f9476f11aa9d410820c7fababd7d3
4
+ data.tar.gz: bbb3750e08a45b50fccfff5ac238978d7e023774ecf99ec299b23f62da9b7e21
5
5
  SHA512:
6
- metadata.gz: 4a2b0548d0f5bb7e91962a0e68d1ae6340a55b45e60e3f33cc96bdd0a6c251f37947640cc85a33493e0a219f5892dc2f1aee895f116c9252f8fcef47ab30ad86
7
- data.tar.gz: a6e77965718008f8cd1197546f8481084adf2b14fa819da0a5a0e14f9b661360ae73162a10c6789089fdc8b0bfbeffe04ad440bfb7d82e3cc7a46fa69ea8fd97
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::GRPC::StructEncoder.call(headers),
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::GRPC::StructEncoder,
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::GRPC::StructEncoder,
128
+ params.transmute(EventHookClientServer::Grpc::StructEncoder,
129
129
  %I[config parmas])
130
130
 
131
131
  request = V1::Messages::IntegrationUpdateRequest.new(id: id.to_s,
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventHookClientServer
4
- module GRPC
4
+ module Grpc
5
5
  class StructEncoder < Service
6
6
  class Error < StandardError; end
7
7
  class NonEncodeableObjectError < Error; end
@@ -3,6 +3,6 @@
3
3
  module EventHookClientServer
4
4
  MAJOR = 1
5
5
  MINOR = 0
6
- PATCH = 1
6
+ PATCH = 2
7
7
  VERSION = [MAJOR, MINOR, PATCH].join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bmx-event_hook_client_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stanko K.R.