Sha256: 75b94b67ecd8af6a3634aa1760fb07fe1c57e7adc5452513a7ce416652f5beda
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 Bytes
Contents
module GeoConcerns class LocalMessagingClient def publish(message) processor = JSON.parse(message)['exchange'] send(processor, JSON.parse(message)) rescue Rails.logger.warn "Unable to publish message with the local message client" end def geoblacklight(message) GeoblacklightJob.perform_later(message) end def geoserver(message) DeliveryJob.perform_later(message) end end end
Version data entries
8 entries across 8 versions & 1 rubygems