Sha256: 83a5bda2e99e3f711916f1bacd5e688ccbe0f5efc44dd803b74153dbcbe03369
Contents?: true
Size: 339 Bytes
Versions: 10
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true class HelloSubscriber include Cloudenvoy::Subscriber cloudenvoy_options topic: 'hello-msgs' # # Process a pub/sub message # # @param [Cloudenvoy::Message] message The message to process. # def process(message) logger.info("Received message #{message.payload.dig('content')}") end end
Version data entries
10 entries across 7 versions & 1 rubygems