Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
feat: add default worker options
Browse files Browse the repository at this point in the history
  • Loading branch information
eHattori committed Apr 19, 2022
1 parent df2b7cf commit e5ff577
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/pipefy_message.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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
Expand Down

0 comments on commit e5ff577

Please sign in to comment.