Sha256: 27feb77afd3994b87a5e0a856762228e3d6f34bc304b187a03fb7cb9da3f3405
Contents?: true
Size: 513 Bytes
Versions: 8
Compression:
Stored size: 513 Bytes
Contents
require_dependency "renalware/pathology" module Renalware module Pathology class MessageListener def message_processed(message_payload) pathology_params = parse_pathology_params(message_payload) create_observations(pathology_params) end private def parse_pathology_params(message_payload) MessageParamParser.new.parse(message_payload) end def create_observations(params) CreateObservations.new.call(params) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems