Sha256: 8a7d7ce8a270feeb4f67a3c5f7a5c37c56eb575e663a1bd09346ad5abc60edda
Contents?: true
Size: 402 Bytes
Versions: 64
Compression:
Stored size: 402 Bytes
Contents
module DispatchRider module QueueServices class AwsSqs < Base class MessageBodyExtractor attr_reader :parsed_message def initialize(raw_message) @parsed_message = JSON.parse(raw_message.body) end def extract parsed_message.has_key?("Message") ? parsed_message["Message"] : parsed_message.to_json end end end end end
Version data entries
64 entries across 64 versions & 1 rubygems