Class: Nuntius::DeliverInboundMessageService
- Inherits:
-
ApplicationService
- Object
- Servitium::Service
- ApplicationService
- Nuntius::DeliverInboundMessageService
- Defined in:
- app/services/nuntius/deliver_inbound_message_service.rb
Instance Method Summary collapse
Instance Method Details
#perform ⇒ Object
9 10 11 12 13 |
# File 'app/services/nuntius/deliver_inbound_message_service.rb', line 9 def perform context..update!(status: "delivered") result = Nuntius::BaseMessageBox.deliver(context.) context..update!(status: "processed") if result end |