Class: GeoConcerns::LocalMessagingClient
- Inherits:
-
Object
- Object
- GeoConcerns::LocalMessagingClient
- Defined in:
- app/services/geo_concerns/local_messaging_client.rb
Instance Method Summary collapse
Instance Method Details
#geoblacklight(message) ⇒ Object
10 11 12 |
# File 'app/services/geo_concerns/local_messaging_client.rb', line 10 def geoblacklight() GeoblacklightJob.perform_later() end |
#geoserver(message) ⇒ Object
14 15 16 |
# File 'app/services/geo_concerns/local_messaging_client.rb', line 14 def geoserver() DeliveryJob.perform_later() end |
#publish(message) ⇒ Object
3 4 5 6 7 8 |
# File 'app/services/geo_concerns/local_messaging_client.rb', line 3 def publish() processor = JSON.parse()['exchange'] send(processor, JSON.parse()) rescue Rails.logger.warn "Unable to publish message with the local message client" end |