From f9be3ab4e9534acf6b7700469ba22233d6186921 Mon Sep 17 00:00:00 2001 From: Eduardo Hattori Date: Mon, 11 Apr 2022 17:45:52 -0300 Subject: [PATCH] feat: add default worker options --- lib/pipefy_message.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/pipefy_message.rb b/lib/pipefy_message.rb index 543b9c6..a124437 100644 --- a/lib/pipefy_message.rb +++ b/lib/pipefy_message.rb @@ -9,6 +9,14 @@ require "logger" module PipefyMessage + + def self.default_worker_options + @default_worker_options ||= { + "broker" => "gcp", + "queue" => "default" + } + end + # Simple Test class to validate the project class Test def initialize